Click here to Skip to main content
16,020,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have created a java project in netbeans, i want to create an exe for the project so that i can intall it in another PC and run it like a normal application. how can i do it?
please give ur guidence
Posted
Comments
Kornfeld Eliyahu Peter 14-Jun-15 6:52am    
The basic idea of Java is that you compile it into portable code and it will run on any machine that has a Java Virtual Machine Installed...The moment you compile it into an exe you lose this completely...

Use a tool like Launch4j or Jar2Exe to package your compiled project as a Windows .exe file.
 
Share this answer
 
I think you can use launch4j but can not attach with database, so you project can not database you can use the the above application. your right!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900