"MyApp“文件夹现在的结构如下:
- MyApp
- lib
- MyLib.jar
- MyApp.jarMyApp.jar有一个包含Class-Path: lib/MyLib.jar的清单
我想在"MyApp“文件夹中添加MyApp.exe文件。因此,我将通过WinRun4J创建exe所需的所有文件放到"MyApp“文件夹中。然后,我按照here的说明运行bat文件。这给了我一个带有正确图标的exe文件,但当我运行它时,我看到的只是一个闪屏。我哪里错了?我的ini文件内容:
main.class=my.main.class
classpath.1=lib/MyLib.jar
splash.image=SplashScreen.gif发布于 2013-03-15 18:06:30
您还必须包括您的主jar:
main.class=my.main.class
classpath.1=MyApp.jar
classpath.2=lib/MyLib.jar
splash.image=SplashScreen.gif或者简单地包含所有jars:
main.class=my.main.class
classpath.1=*.jar
classpath.2=lib/*.jar
splash.image=SplashScreen.gifhttps://stackoverflow.com/questions/15428347
复制相似问题