D
Daku
Could some Java guru please help ? I am using :
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
on a Redhat 2.6.9_34 machine. I am using Eclipse Galileo IDE.
I have downloaded a jar file for use with a simple application that I
am writing, and I can easily set the classpath during compilation and
the application complies perfectly.
I try to invoke my application as:
java FTPTest -classpath
/root/downloads/simpleftp.jar
I am getting an error message as :
Exception in thread "main" java.lang.NoClassDefFoundError: org/jibble/
simpleftp/SimpleFTP
at FTPTest.test(FTPTest.java:16)
at FTPTest.main(FTPTest.java:49)
Caused by: java.lang.ClassNotFoundException:
org.jibble.simpleftp.SimpleFTP
Using the built-in Archive Manager tool, I find that the jar file
contains the correct Java class file.
I am clueless, any hints, suggestions would be invaluable - thanks in
advance for your help.
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
on a Redhat 2.6.9_34 machine. I am using Eclipse Galileo IDE.
I have downloaded a jar file for use with a simple application that I
am writing, and I can easily set the classpath during compilation and
the application complies perfectly.
I try to invoke my application as:
java FTPTest -classpath
/root/downloads/simpleftp.jar
I am getting an error message as :
Exception in thread "main" java.lang.NoClassDefFoundError: org/jibble/
simpleftp/SimpleFTP
at FTPTest.test(FTPTest.java:16)
at FTPTest.main(FTPTest.java:49)
Caused by: java.lang.ClassNotFoundException:
org.jibble.simpleftp.SimpleFTP
Using the built-in Archive Manager tool, I find that the jar file
contains the correct Java class file.
I am clueless, any hints, suggestions would be invaluable - thanks in
advance for your help.