Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to export .jar packaged with libraries and resources?

807580Jul 5 2010 — edited Jul 5 2010
Hi all,

I have a Java project and I want to export it as a .jar file from Eclipse. The problem is that I have a bunch of libraries that I'm using and some images that paint the GUI.
Also, I have a manifest file that specifies a splash image.

If I export it as Jar file with manifest and resources included it "sees" the settings from the manifest but NOT my libraries.
If I export it as Runnable Jar the libraries are packaged but not the info from manifest.

I tried all combinations using the Export as Jar option from Eclipse but none worked.

Any ideas?

Thank you in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2010
Added on Jul 5 2010
4 comments
204 views