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!

Executable JAR NoClassDefFoundError with External JARs

807589Jul 3 2008 — edited Jul 8 2008
I apologize for the long title, but I am having issues exporting a JAR file from Eclipse when the program uses external JAR files. I am currently writing an application that imports the Avaya Push SDK. I believe it has to be something to do with my Manifest being written wrong on the export, but haven't found a way to fix it. Here is what I have got:

Manifest:
Manifest-Version: 1.0
Class-Path: ./start/AvayaPushSDKLib.jar; 
Main-Class: start.ServerStart
That is the location relative to the placement from the directory (Server1.0/start/AvayaPushSDKLib.jar). The manifest is in /Server1.0/.
Is there anything else that I am missing? This works fine without that error when I run an application that doesn't require any external JAR files.

Can someone please steer me in the right direction?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2008
Added on Jul 3 2008
8 comments
988 views