]
Manik Surtani updated ISPN-454:
-------------------------------
Affects Version/s: 4.0.0.Final
Fix Version/s: 4.1.0.Final
Windows demo classpath needs quotes for classpath with spaces
-------------------------------------------------------------
Key: ISPN-454
URL:
https://jira.jboss.org/browse/ISPN-454
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.0.0.Final, 4.1.0.BETA1
Environment: Windows
Reporter: Chad Hahn
Assignee: Manik Surtani
Priority: Minor
Fix For: 4.1.0.BETA2, 4.1.0.Final
The classpath of runGuiDemo.bat is set by java -cp %my_classpath%, but it needs quotes
around it like java -cp "%my_classpath%" in order to not throw a very confusing
error when the classpath contains spaces:
Exception in thread "main" java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
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: and. Program will exit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: