The CLASSPATH environment variable is not used by JBoss so you do not need to
set it at all.
The run scripts create the classpath required by JBoss based on the JAVA_HOME
environment variable and relative to the run script.
The classpath generated by the run script overrides the CLASSPATH env
JBoss Bootstrap Environment
|
| JBOSS_HOME: /home/vikas/sharath/jboss-4.0.2
|
| JAVA: java
|
| JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.s
You have to set yr JAVA_HOME environment variable pointing to JDK loction
Like JAVA_HOME= C:/java/JDK-1.5
As tools.jar comes wit