Hi all:
Hope this is not a newbie question.
I am developing a application which uses a JAR file downloaded from the
Internet. I use "import external jar" and it worked alright under the
Eclipse Run. However when I export it onto a jar, it always say that
NoClassDefFoundError. It cannot find the class files inside the jar I
imported. Is there anyway which I can solve this? I always thought
Eclipse will take care of the classpath for you.
Also, when I unzip my own jar file, I found out that there are no sign
of my imported Jar file. I'd like to include the jar in my own jar, so
other people who use my application will not have to explicitly download
that jar by themselves. Is this possible?
Thanks
Mark
Roedy Green - 10 Jan 2006 02:43 GMT
>Also, when I unzip my own jar file, I found out that there are no sign
>of my imported Jar file.
A jar inside a jar is useless. You must copy the individual files
into the jar, or unpack the jar before use.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.