You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ali <pa...@gmail.com> on 2016/06/18 01:31:41 UTC

Cassandra Start script not working

Hi,

I downloaded Cassandra 3.6/3.7 and on my OSX machine having Java 1.8.0_45,
I can't launch whenever I try to launch it using
"bin/cassandra -f"

it gives me error

"Error: Could not find or load main class -ea"

Any help is appreciated.

Thanks
Ali

Re: Cassandra Start script not working

Posted by Mahdi Mohammadi <ma...@gmail.com>.
Can you send the full stack-trace?

Best Regards

On Sat, Jun 18, 2016 at 5:30 PM, Ali <pa...@gmail.com> wrote:

> Environment settings described in the thread didn't work for me.
>
> It seems like start script need changes.
>
> Thanks
> Ali
>
> On Sat, Jun 18, 2016 at 2:23 PM, Mohammad Kermani <98...@gmail.com>
> wrote:
>
>> Hi Ali
>> Take a look at this link, maybe help you
>>
>> http://stackoverflow.com/questions/22512840/error-could-not-find-or-load-main-class-cassandra
>>
>>
>> On Sat, Jun 18, 2016 at 6:01 AM Ali <pa...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I downloaded Cassandra 3.6/3.7 and on my OSX machine having Java
>>> 1.8.0_45, I can't launch whenever I try to launch it using
>>> "bin/cassandra -f"
>>>
>>> it gives me error
>>>
>>> "Error: Could not find or load main class -ea"
>>>
>>> Any help is appreciated.
>>>
>>> Thanks
>>>
>>> Ali
>>>
>>
>
>
> --
> --Ali
>

Re: Cassandra Start script not working

Posted by Ali <pa...@gmail.com>.
Environment settings described in the thread didn't work for me.

It seems like start script need changes.

Thanks
Ali

On Sat, Jun 18, 2016 at 2:23 PM, Mohammad Kermani <98...@gmail.com>
wrote:

> Hi Ali
> Take a look at this link, maybe help you
>
> http://stackoverflow.com/questions/22512840/error-could-not-find-or-load-main-class-cassandra
>
>
> On Sat, Jun 18, 2016 at 6:01 AM Ali <pa...@gmail.com> wrote:
>
>> Hi,
>>
>> I downloaded Cassandra 3.6/3.7 and on my OSX machine having Java
>> 1.8.0_45, I can't launch whenever I try to launch it using
>> "bin/cassandra -f"
>>
>> it gives me error
>>
>> "Error: Could not find or load main class -ea"
>>
>> Any help is appreciated.
>>
>> Thanks
>>
>> Ali
>>
>


-- 
--Ali

Re: Cassandra Start script not working

Posted by Mohammad Kermani <98...@gmail.com>.
Hi Ali
Take a look at this link, maybe help you
http://stackoverflow.com/questions/22512840/error-could-not-find-or-load-main-class-cassandra


On Sat, Jun 18, 2016 at 6:01 AM Ali <pa...@gmail.com> wrote:

> Hi,
>
> I downloaded Cassandra 3.6/3.7 and on my OSX machine having Java 1.8.0_45,
> I can't launch whenever I try to launch it using
> "bin/cassandra -f"
>
> it gives me error
>
> "Error: Could not find or load main class -ea"
>
> Any help is appreciated.
>
> Thanks
>
> Ali
>