-
1. Re: JBoss won't start on run.bat
jaikiran Jan 8, 2010 3:25 AM (in response to neron17)1 of 1 people found this helpfulYou probably haven't set the JAVA_HOME correctly. What does the following command output from the console where you are trying to start JBoss:
echo %JAVA_HOME%
-
2. Re: JBoss won't start on run.bat
neron17 Jan 8, 2010 5:04 AM (in response to jaikiran)Actually it gives back the correct location of my JAVA_HOME which is "C:\Programme\Java\jre6 C:\Programme\Java\jre6\bin". I have also tried it with the jdk1.5 but with the same result :/ -
3. Re: JBoss won't start on run.bat
wolfgangknauf Jan 8, 2010 7:04 AM (in response to neron17)Hi,
your JAVA_HOME is "C:\Programme\Java\jre6 C:\Programme\Java\jre6\bin"?
This is wrong, it should be only "C:\Programme\Java\jre6".
Hope this helps
Wolfgang
-
4. Re: JBoss won't start on run.bat
neron17 Jan 8, 2010 7:30 AM (in response to wolfgangknauf)your JAVA_HOME is "C:\Programme\Java\jre6 C:\Programme\Java\jre6\bin"?
This is wrong, it should be only "C:\Programme\Java\jre6".
Hei Wolfgang,
it looks like that has indeed been the problem. But I think I have read somewhere to enter the bin-path as well in the java_home - is there any use to do so?
-
5. Re: JBoss won't start on run.bat
wolfgangknauf Jan 8, 2010 9:32 AM (in response to neron17)Hi,But I think I have read somewhere to enter the bin-path as well in the java_home - is there any use to do so?
nope, this is wrong. "JAVA_HOME" always points to the base directory of JRE or JDK. The bin directory can be added to the PATH variable.
Hope this helps
Wolfgang
-
6. Re: JBoss won't start on run.bat
khadershafeeq Sep 2, 2010 10:16 AM (in response to neron17)do the following steps
1.Delete JAVA_HOME from the system variables
2.Try to start run.bat , if it starts running then it will be the problem of JAVA_HOME
3.Set JAVA_HOME to your folder of JRE like c:\program files\java\jre6 Dont use ';' at the end.
4. This will solve the problem. As i was also suffering from the same problem.