How to create a .exe file in netbeans?

后端 未结 3 1781
长情又很酷
长情又很酷 2021-01-12 06:27

I\'ve created a project in netbeans and I want it to be runnable in another computer without having the netbeans installed (just like a .exe in visual basic). <

3条回答
  •  悲&欢浪女
    2021-01-12 06:49

    If you created a java project, then the "other" computer should have the java runtime installed, in order for the jar to be executed there (java -jar your.jar) otherwise if you really want an .exe use one of the many jar2exe converters found on the almighty internet, such as http://www.ucware.com/jexec/index.htm

提交回复
热议问题