Skip to Main Content

New to Java

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!

Jarrring jars

807600Sep 4 2007 — edited Sep 4 2007
Hi,
I have to create a jar which apart from containing my classes must also contain a few external jars. Although I have defined the path of these jars in class-path in the manifest.mf file however I am getting a NoclassDefinition found exception as my jars are not being located.
My classes are in forder com and my jars are in folder lib along with the com folder. Here is what the manifest.mf looks like.

Manifest-Version: 1.0
Class-Path: lib\common-1.0.0.1.jar lib\dom4j-full-1.4.0.jar lib\j2ee.jar
Main-Class: com.email.BatchEmailer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2007
Added on Sep 4 2007
9 comments
130 views