• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to include external jars in single jar  RSS feed

 
Sarah Raf
Ranch Hand
Posts: 35
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to create a JAR file for my project, which includes libraries such as the JOGL, glugen.rt and swt along with embedded JavaDB. I am not able to get my JAR file working, because of these dependencies. Can anyone please tell me how can I proceed with this?

Regards,
Sarah
 
Stephan van Hulst
Saloon Keeper
Posts: 7993
143
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The manifest file of your Jar needs to specify which other libraries it uses:

http://download.oracle.com/javase/tutorial/deployment/jar/downman.html
 
Sarah Raf
Ranch Hand
Posts: 35
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stephan van Hulst wrote:The manifest file of your Jar needs to specify which other libraries it uses:

http://download.oracle.com/javase/tutorial/deployment/jar/downman.html


Thanks Stephan... But I had to include the JOGL and gluegen-rt dll files in the JRE lib. Only then my problem was solved. So now my UI works absolutely fine, but still I have the problem of including the embedded Java DB in my applications JAR file.. How can I include it??? Any suggestions...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!