Cebu Business I.T. Incubator

Creating Executable JAR File with NetBeans

Here’s a quick guide on how to setup your NetBeans IDE to create an executable JAR file output. If you’re using JCreator to create JAR file, click here.

  1. Once you already created your Project using NetBeans IDE, right click the project name and click Properties.
  2. A new window will appear, the Project Properties. On the left side, click Packaging.
  3. The right panel will change and check Compress JAR File and Build JAR after compiling.
  4. JAR file saving location is indicated at the text box labeled Jar File.
  5. Then, Click OK. Now, compile your project and go to the saving location and try to click the JAR to execute your application.

You can see the sample window in the screen shot below for your guidance. Thanks!

NetBeans-IDE-Create-JAR-File

Click the image to enlarge.