Subscribe For Free Updates!

We'll not spam mate! We promise.

Friday, 29 January 2016

How to create jar file in netbeans

How yo create a jar file in net beans ?

Double-clicking the application's Java Archive (JAR) file.

Calling the application from the command line.

Calling the application from a script file.

1 Click on Properties

2 Click on Packaging

3 Click on Compress JAR File

4 Accept changes, click ok

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

6 Go to the directory where your project is stored

7 Look in the dist folder

Please do right click on the project and go to properties.

Then go to Build and Packaging. You can see the JAR file
location that is produced by defualt setting of netbean in
 the dist directory.

You can also tried to make an executable jar file that I could run with the following command:

java -jar <jarfile>


Socializer Widget By Blogger Yard
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment