• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I deliver a Java Application in One-JAR  RSS feed

 
bob morkos
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to Deliver myJava Application in One-JAR, Is it possible to load the manifest in main jar that sets the classpath of all the libs .

I have this structure

com/xxx
lib/xxx.jar
properties/xxx.jar
Meta-inf/Manifest.mf

In the Manifest.mf this is what is set below:



Now, I can't run this jar from a command line, it does not find the libs. Can anyone help?
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put all these jars into the super-jar?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!