cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: batch file error on vista
Date Thu, 04 Feb 2010 16:52:16 GMT
The existing batch file works fine for me on windows 7.  So does
Tom's, modified to not hardcode stuff it shouldn't.  (attached, w/
name mangling to make gmail happy).  Can anyone test this on XP?  If
the code we're removing to "shorten lib path for older platforms" is
required for XP we should probably not remove it.

On Thu, Feb 4, 2010 at 10:31 AM, Tom Borthwick <> wrote:
> Hello,
> Not sure if this should go to the user or dev mailing list, but the
> cassandra.bat file gave me this error on Vista:
> C:\programs\apache-cassandra-incubating-0.5.0>bin\cassandra -f
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/
> service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.Cassan
> draDaemon
>        at$
>        at Method)
>        at
>        at java.lang.ClassLoader.loadClass(
>        at sun.misc.Launcher$AppClassLoader.loadClass(
>        at java.lang.ClassLoader.loadClass(
>        at java.lang.ClassLoader.loadClassInternal(
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon.  Pr
> ogram will exit.
> The problem is in the handling of the classpath and the 'P:'
> substitution lines. I just set the classpath directly and it worked
> fine. My batch file looks like this now:

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message