unable to access the contents of the jar file which is in classpath
Hey Java Gurus,
I am including a jar file in my classpath and somehow it is not able to get included in the class path and it gives. The may I have included in the class path is this
$JAVA_HOME/bin/java -classpath "/home/at59597/java/lib/commons-lang-2.3.jar:$CLASSPATH" com.PLCalculator $*
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/builder/ToStringStyle
I am not able to understand why this is happening. I have checked the permissions of the /home/at59597/java/lib/commons-lang-2.3.jar and I have the execute permissions of this jar file.
Is there any way to debug this problem?
Thanks
Abhishek