[infinispan-issues] [JBoss JIRA] Updated: (ISPN-454) Windows demo classpath needs quotes for classpath with spaces
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Tue Jun 1 08:12:51 EDT 2010
[ https://jira.jboss.org/browse/ISPN-454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreno updated ISPN-454:
----------------------------------
Fix Version/s: 4.1.0.CR1
(was: 4.1.0.BETA2)
Moved to CR1.
> 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.1.0.BETA1
> Environment: Windows
> Reporter: Chad Hahn
> Assignee: Manik Surtani
> Priority: Minor
> Fix For: 4.1.0.CR1
>
>
> 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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list