This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
Consider Paul's rocket mass heater.
 
subject: packaging up application into Jar file for distribution