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!

Modifying manifest file within JDeveloper

531141Aug 31 2006
I've got an application that sends an email when it finishes running.

When using the Java Mail API you cannot include mail.jar and activation.jar in your "executable" jar file, your mainifest file must be modified and the following line add: Class-Path: mail.jar activation.jar. Then all three jar files must exist in the same directory.

The problem is, I had to hack the jar file and modify the .mf file via notepad. Is there a way from within JDeveloper to add Class-Path to mainifest.mf.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2006
Added on Aug 31 2006
0 comments
270 views