-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
Launching AS 7 does not work on windows.
Several issues:
Quoting java_home causes error:
set JAVA_HOME="C:\Program Files\Java\jdk1.6.0_24"
Y:\products\jboss 7.0.0.Beta1\bin>standalone.bat
Config file not found Y:\products\jboss 7.0.0.Beta1\bin\standalone.conf.bat
Files\Java\jdk1.6.0_24"" was unexpected at this time.
Non quoting and you get this:
Y:\products\jboss 7.0.0.Beta1\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_2
4
Y:\products\jboss 7.0.0.Beta1\bin>standalone.bat
Config file not found Y:\products\jboss 7.0.0.Beta1\bin\standalone.conf.bat
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: Y:\products\jboss 7.0.0.Beta1
JAVA: C:\Program Files\Java\jdk1.6.0_24\bin\java
JAVA_OPTS: -Dprogram.name=standalone.bat -server
===============================================================================
Exception in thread "main" java.lang.NoClassDefFoundError: 7/0/0/Beta1\standalon
e\log\boot/log
Caused by: java.lang.ClassNotFoundException: 7.0.0.Beta1\standalone\log\boot.log
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: 7.0.0.Beta1\standalone\log\boot.log. Program wil
l exit.
Press any key to continue . . .
And it seem to be looking for standalone.conf.bat which does not exist.
- relates to
-
AS7-631 Launch from path with space does not work
- Closed