detecting or distributing suitable JREs and JDKs, startup error handling and much more. ========== exe4j生成的exe好像也要jre
如果要jre,还不如用jbuilder生成exe方便呢
JSmooth 也要JRE JSmooth aims at enhancing the user experience by taking care of all those issues: the java application is wrapped in an .exe binary. When the user clicks on the .exe, the windows application search the most suitable JVM installed on the computer to launch the java application.
只要这样:gcj --main=HelloWorld HelloWorld.java -o hello可是只要用到swt的就会出错。:(
(我觉得可能是路径的问题)
所以我现在想先生成.jar(把用到的东东全收进去),然后再将.jar生成.exe。虽说.jar只是把.class压到一起,可是我还是想试试看。:P
==========
exe4j生成的exe好像也要jre
When the user clicks on the .exe, the windows application search the most suitable JVM installed on the computer to launch the java application.