i am new to jboss when run the run.bat in jbos i am getting following error
err:Could not locate C:\Program Files\Java\jdk1.6.0_07;\lib\tools.jar. Unexpected re sults may occur. Make sure that JAVA_HOME points to a JDK and not a JRE. =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: D:\jboss-4.0.3SP1\bin\\.. . JAVA: C:\Program Files\Java\jdk1.6.0_07;\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\Program Files\Java\jdk1.6.0_07;\lib\tools.jar;D:\jboss-4.0.3SP1\ bin\\run.jar . =============================================================================== . The system cannot find the path specified. Press any key to continue . . .
i am using jdk 1.6
my environmental variables: ---------------------------
The JAVA_HOME is set incorrectly. There should not be a semi-colon in the value.
Also, please note that it would be better to move the JDK installation outside any folders containing a space in their path name. There are weird issues reported when you have JDK installed in a folder with a space. You might consider moving it to C:\Java\jdk1.6.0_07 and set the JAVA_HOME appropriately.