I'm using the JarBund开发者_JS百科ler ANT Task to create a .app
for a client. It's possible to use it on PC, it requires the JavaApplicationStub
from a mac. Is there anyway I can get this on a PC? I know it comes from the Apples release of Java, but that only comes as a .dmg
and I can't get access to it. My question is where can I get this file so I can link to to the JarBundler ANT task, or is there another way to create a .app
from a jar on a PC?
JarBundler Ant task is picking up JavaApplicationStub
from
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub
You could copy it from there.
Note: This is only working for Java 6 applications. For Java 7 applications you have to use AppBundler
Ant Task from Oracle.
See also the accepted answer on the stack for the following question:
Application is using Java 6 from Apple instead of Java 7 from Oracle on Mac OS X?
精彩评论