It's not a classpath trouble, it's your JAVA_HOME that is incorrect, it's point to : /home/cmpcore/jdk141_05
the run.sh use the JAVA_HOME like this.
Thanks for the reply. Yes I found out that problem and i was able to solve it. Now am getting another problem. When i start JBoss by giving the command ./run.sh and getting the following message,
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
JBoss Bootstrap Environment
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
JAVA_HOME variable in run.sh is not set for tools.jar. Right? can you please tell how make the change? where exactly in run.sh file should we make the change?
It denotes that the JAVA_HOME environment variable not set.
You can set the JAVA_HOME as follows.
#export JAVA_HOME=<path to the JDKfolder>
And make sure that, The path should NOT points to the JRE.
Hope, This might solve your problem.