Skip to Main Content

Java Programming

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!

Help with "Java class is not found" error

807580Apr 9 2010 — edited Apr 9 2010
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 7 2010
Added on Apr 9 2010
2 comments
93 views