Help with "Java class is not found" error
807580Apr 9 2010 — edited Apr 9 2010Hi,
I created my java program in a window environment, ran the program to a command line and it works.
I then put my jar file along with the other dependent jar in unix, I then run the command again and it's complaining that it cannot find the class file from the dependent jar. The class file does exist in the jar and also when I run "java" command I make sure that the jar was part of the classpath.
My command line looks like this:
$PS_JRE/bin/java -jar -classpath $CLASSPATH/jxl.jar jexcel.jar
I'm at a loss. Any advice would be greatly appreciated.
Thank you,
Giovanni