[英]JarBundler on PC
I'm using the JarBundler ANT Task to create a .app
for a client. 我正在使用JarBundler ANT任务为客户端创建
.app
。 It's possible to use it on PC, it requires the JavaApplicationStub
from a mac. 可以在PC上使用它,它需要Mac上的
JavaApplicationStub
。 Is there anyway I can get this on a PC? 无论如何,我可以在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. 我知道它来自Apple的Java版本,但这仅是
.dmg
,我无法访问它。 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任务, 或者是否有另一种方法可以从PC上的jar创建
.app
?
JarBundler Ant task is picking up JavaApplicationStub
from JarBundler Ant任务正在从中获取
JavaApplicationStub
/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. 注意:这仅适用于Java 6应用程序。 For Java 7 applications you have to use
AppBundler
Ant Task from Oracle. 对于Java 7应用程序,必须使用Oracle的
AppBundler
Ant Task。
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? 应用程序使用的是Apple的Java 6,而不是Mac OS X上的Oracle的Java 7?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.