Making a java .jar File using NetBeans 6.8


Making a java .jar File using NetBeans 6.8

1.	Open a java project in NetBeans

2.	Run the project once (to check everything is just working fine)

3.	Select your project and go to Propertise 
or, File > Project Propertise (ur project name)

4.	A dialog box will appear, titled : Project Propertise

5.	Under Catergories : Build > Packaging 

6.	Checked the Compress JAR File & Build JAR after Compiling

7.	Ok

8.	Select your project and click Clean & Build 
or, Run > Clean and Build Project 
or, shift + F11

9.	That’s all. Now go to your project folder and there you will find a folder named dist containing the .jar file

Advertisements

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