How to create a Jar file in Netbeans 8.0

To do this, follow these steps

1 Click on project name. Right-click and select Properties

2 Click on Packaging

3 Check Compress JAR File

4 Accept changes, click ok

5 Click the button in the ribbon tab with the hammer (clean and build project)

6 Go to the directory where your project is stored

7 Look in the dist folder

It should be located there if everything went alright. Make sure you aren’t excluding any files when the jar file is being set up in the dist folder.

Advertisements

One thought on “How to create a Jar file in Netbeans 8.0

  1. hey Sir , I tried all this. But in dist folder there is only one compressed file with a project name :/ . no jar file is made. Please help me ! M using 64bit windows 7 and netbeans 7.0 !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s