How to create a .exe file in netbeans?

后端 未结 3 1777
长情又很酷
长情又很酷 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:34

    To run jar file on other computer you should have at least jdk. Their is no need to install NetBeans but you have to first set database connectivity to pc and your database. After connectivity just double click on jar file your project will run.

    To know how to create Jar file in NetBeans check this link.

    0 讨论(0)
  • 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

    0 讨论(0)
  • 2021-01-12 06:49

    What type of project is this Desktop application OR Web based application ? If you are using java then for Desktop application you need to create a *.JAR and for Web based : *.WAR.

    There are simple step to create jar/ war. please follow any tutorial.

    0 讨论(0)
提交回复
热议问题