This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to make jar file with external jars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to make jar file with external jars" Watch "how to make jar file with external jars" New topic
Author

how to make jar file with external jars

mona elrouby
Greenhorn

Joined: Feb 04, 2007
Posts: 2
I have a java application which works just fine on eclipse. Now I want it to work without the need for eclipse. The solution is to File -> Export... to a jar file.
The problem is that I added many external jar files.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36465
    
  15
Welcome to the Ranch.
I haven't tried putting a .jar file together from Eclipse for a long time, but doesn't it automatically include the other .jars used?

Try it and see.

CR
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Please reserve this forum for questions on advanced Java. I have moved this post to a more approriate location.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make jar file with external jars
 
Similar Threads
Jar file problem
Adding an external jar file library in Netbeans 6.5.1 IDE
Eclipse - Exporting to Jar including external jar files
How to make eclipse userlibrary for jar dependencies using java code and ant build?
Eclipse JARing