This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes packaging up application into Jar file for distribution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "packaging up application into Jar file for distribution" Watch "packaging up application into Jar file for distribution" New topic
Author

packaging up application into Jar file for distribution

Bud Tippins
Ranch Hand

Joined: Jan 28, 2011
Posts: 52
I have the following program in NetBeans. How do I go about packaging it up into a Jar File for distirbution? Can I do this from NetBeans or do I need to do it from the command prompt?

Thank you.

Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

Not sure of NetBeans but we have Export option under File menu in Eclipse

You can use "jar -cvf "*.class" <jar-name>" also...


Java Experience
 
wood burning stoves
 
subject: packaging up application into Jar file for distribution
 
Similar Threads
packaging up Swing application into Jar file for distribution
Metro library and Netbeans 6.9.1
How to add a jar file in classpath?
jar file execution in linux.
Need an executable jar to return a value