How to set classpath in manifest file , while creating JAR from eclipse?
Posted
by Hippo
on Stack Overflow
See other posts from Stack Overflow
or by Hippo
Published on 2010-04-14T08:57:33Z
Indexed on
2010/04/14
9:23 UTC
Read the original article
Hit count: 390
I am trying to creat JAR file through eclipse. I read some of the threads from
stackoverflow as well as other forums. But nothing is helping.
I have created a separate manifest file like this one.
`Manifest-Version: 1.0
Main-Class: Main
Class-Path: gnujaxp.jar iText-2.1.5.jar jcalendar.jar jcommon-1.0.16.jar jfreechart-1.0.13.jar jfreechart-1.0.13-experimental.jar jfreechart-1.0.13-swt.jar junit.jar servlet.jar swtgraphics2d.jar tinyos.jar `
I have put all this jars in same project folder.
While exporting i am exporting all resources (meants this jar files also.)
But still i am getting noclassdeffound error when my application tries to load any one of the jar included.
M i wrong anywhere ..
Thanks in advance.
© Stack Overflow or respective owner