Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to distribute java project built in Eclipse?

Tags:

java

eclipse

Till now, I have been using Netbeans IDE for Java Applications. To distribute applications made in Netbeans, I just click on clean and build and it packs the application in .jar file which resides in a dist directory.

Now I have made a java project in Eclipse. Is Eclipse has any functionality similar to clean and build functionality of Netbeans by which we can pack java applications to distribute them.

like image 320
Yatendra Avatar asked Feb 25 '10 07:02

Yatendra


2 Answers

You can right-click the project, select Export and choose Java, then JAR as the format.

like image 123
brabster Avatar answered Sep 28 '22 06:09

brabster


File -> Export...

And choose Java -> JAR File. You will get a wizard to export any of your projects

like image 26
Lombo Avatar answered Sep 28 '22 06:09

Lombo