Reputation: 161
I created a Java application and I want to create jar file for this application. This application imported other external jar files by Build Path>Add External Jar File. How can I generate executable JAR file for this application in Ubuntu with these external libraries dependencies?
Upvotes: 15
Views: 83431
Reputation: 1677
Right click on project which one you want to create executable jar
-> Export -> Runnable jar
-> Select the Main class in "Launch Configuration" -> Export destination (your system path) -> Finish
Upvotes: 2
Reputation: 4359
To create a new runnable JAR file in the workbench:
Upvotes: 18