How to set class path in Unix

Hi everyone, I have installed JBoss in Unix. So when I start the JBoss, am getting the following message ./run.sh: /home/cmpcore/jdk141_05/bin/java: not foundHope the question is clear. Please help.Thanks and Regards,Jayanth.
[267 byte] By [jayanth.sma] at [2007-10-3 2:22:25]
# 1
you should be able to google it: export CLASSPATH=/home/cmpcore/jdk141_05/bin/java:$CLASSPATHecho $CLASSPATH
PGoyala at 2007-7-14 19:21:23 > top of Java-index,Desktop,Runtime Environment...
# 2
Yes u can refer to O'reilly publication website for this and have the specific solution..i remember reading something vaery much similar in one of their books/
a14a at 2007-7-14 19:21:23 > top of Java-index,Desktop,Runtime Environment...
# 3

> ./run.sh: /home/cmpcore/jdk141_05/bin/java: not

> found

This tells me that JAVA_HOME is set to /home/cmpcore/jdk141_05, as JAVA_HOME is used to determine the full path of the java binary.

Some Unix systems have a 'locate' command. Try 'locate java' and see if it tells you where it is. At any rate, you will need to set JAVA_HOME to point at the base Java installation.

Brian

brian@cubik.caa at 2007-7-14 19:21:23 > top of Java-index,Desktop,Runtime Environment...