• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to include external jars in single jar

 
Ranch Hand
Posts: 35
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 15490
363
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic