[ https://issues.apache.org/jira/browse/CASSANDRA-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer updated CASSANDRA-2237: ------------------------------------- Attachment: CASSANDRA-2237.diff Here is the batch which fix this > cassandra.bat does fail when CASSANDRA_HOME contains a whitespace > ----------------------------------------------------------------- > > Key: CASSANDRA-2237 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2237 > Project: Cassandra > Issue Type: Bug > Components: Packaging > Environment: windows > Reporter: Norman Maurer > Attachments: CASSANDRA-2237.diff > > > If you try to start cassandra from a directory with whitespaces you will see > a stacktrace similar to this: > Starting Cassandra Server > Exception in thread "main" java.lang.NoClassDefFoundError: and > Caused by: java.lang.ClassNotFoundException: and > 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:303) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > Could not find the main class: and. Program will exit. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira