-
Bug
-
Resolution: Won't Do
-
Major
-
EAP 5.0.0.BETA
-
None
-
Windows 2003, Service Pack 2, x86_64, x86
-
Workaround Exists
-
I installed EAP a tried to run it by clicking a desktop icon. I started the server but then it ends up with this error.
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_1
1\bin;C:\testing\apache-ant-1/7/0\bin;C:\WINDOWS\MsNfs\;C:\WINDOWS\SUA\common\;C
:\WINDOWS\SUA\usr\lib\;C:\Program
Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_11\bin;C:\testi
ng\apache-ant-1.7.0\bin;C:\WINDOWS\MsNfs\;C:\WINDOWS\SUA\common\;C:\WINDOWS\SUA\
usr\lib\;C:\Program
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Files\Java\jdk1.6.0_11\bin;C:\testing\apache-ant-
1.7.0\bin;C:\WINDOWS\MsNfs\;C:\WINDOWS\SUA\common\;C:\WINDOWS\SUA\usr\lib\;C:\Pr
ogram. Program will exit.
Press any key to continue . . .
Problem is probably in script, which starts server (run.bat). This script probably can not process correctly PATH variable, when this variable contains directories with spaces. When Java is installed in directory containing space (Program Files) and this directory path is on PATH, the server ends up with error. But this error may be generated by any directory with spaces in name when such directory is added to PATH variable.
- is related to
-
JBPAPP-2523 Update for installation guide - directories with space in PATH environment variable
- Closed