cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Long Quanzheng <prc...@gmail.com>
Subject Re: Running cassandra
Date Sun, 19 Mar 2017 16:59:44 GMT
Hi
It still doesn't work.

The real problem is this error:

Error: Could not find or load main class -ea

Thanks
Long

On Sun, Mar 19, 2017 at 3:16 AM Vinci <vinci@protonmail.com> wrote:

> You need to have a log directory to be able to run cassandra.
>
> mkdir logs
>
> then start the cassandra process.
>
> -------- Original Message --------
> Subject: Running cassandra
> Local Time: 19 March 2017 11:31 AM
> UTC Time: 19 March 2017 06:01
> From: prclqz@gmail.com
> To: user@cassandra.apache.org <user@cassandra.apache.org>
>
>
> Hi
> I am trying to get started to play with Cassandra follow this doc:
>
> http://cassandra.apache.org/doc/latest/getting_started/installing.html#prerequisites
>
> But I always get the error:
>
> qlong@~/ws/cas/apache-cassandra-3.10 $ ./bin/cassandra -f
> Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file
> ./bin/../logs/gc.log due to No such file or directory
>
> Error: Could not find or load main class -ea
> qlong@~/ws/cas/apache-cassandra-3.10 $ ./bin/cassandra
> Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file
> ./bin/../logs/gc.log due to No such file or directory
>
> qlong@~/ws/cas/apache-cassandra-3.10 $ Error: Could not find or load main
> class -ea
>
> Did I miss something?
>
> My java is 1.8:
> qlong@~ $ java -version
> java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
>
> Thanks for any help,
> Long
>
>
>

Mime
View raw message