Skip to Main Content

Java Development Tools

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!

No Class-Path in MANIFEST file

12119Jan 16 2013 — edited Jan 17 2013
No matter what I seem to do, I can't seem to get the manifest file, in my deployment jar, to contain the Class-Path. I've read a lot of posts with walk-thrus and examples and none of them worked. What do I have to do to get the 2 jar files in my library to be referenced in my manifest?

I'm using JDeveloper 11g Release 2 (11.1.2.3.0)

This is what I need in my manifest:
Manifest-Version: 1.0
Main-Class: migrator.LiveLinkMigrator
Class-Path: basisjdbc.jar log4j.jar

but all I get is this:
Manifest-Version: 1.0
Main-Class: migrator.LiveLinkMigrator

I have to update the manifest file in the jar each time I deploy.

Any help would be greatly appreciated.

Update. I found a solution and I'm now using IntelliJ IDEA.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2013
Added on Jan 16 2013
1 comment
223 views