Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make jar file with external jars

 
mona elrouby
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48402
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please reserve this forum for questions on advanced Java. I have moved this post to a more approriate location.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic