Search code examples
javawindowsnetbeans-8

How to convert my Java project into a Desktop Application?


I have created a Java Project which I want to convert into a proper Desktop application so that it can be run without any IDE. I used Netbeans 8.0.2 to make my Java Project. How can I run it on any computer that doesn't have Netbeans?

Also I have used MySQL connectivity. So, will those databases carry with the project?


Solution

  • First, Create Executable JAR File - By Creating a Project with Existing Sources, - By Configuring the Project, - By Building the Project and Creating the JAR File.
    Second, Running and Distributing the JAR File. Third, Starting Your Java Application.
    Atlast, Packaging the Application for Java Web Start.