回复:Re: RE:_Why_suddenly_cassandra_3.11.4_and_3.11.3_“can_not_find_or_load_main_class_-ea”?

2019-12-25 Thread gloCalHelp.com
TO Shalom: Thank you for your reply too, sorry it is until now that I read this mail. >>>Do you have jdk 1.8 installed? >>>Is JAVA_HOME set in your cassandra-env.sh file?answer1: of course, 5 years ago, I have used command bin/cassandra to startup cassandraeven now I set JAVA_HOME in cassa

Re: _Why_suddenly_cassandra_3.11.4_and_3.11.3_“can_not_find_or_load_main_class_-ea”?

2019-12-25 Thread Jeff Jirsa
bin/cassandra sources a few different files and tries to source the right ones but does try some system paths One of those probably has the startup args mangled so the jvm flag to enable assertions isn’t in the right order Sent from my iPhone > On Dec 25, 2019, at 8:06 AM, Dimo Velev wrote:

RE: 回复:RE:_Why_suddenly_cassandra_3.11.4_and_3.11.3_“can_not_find_or_load_main_class_-ea”?

2019-12-25 Thread Dimo Velev
Please add -x to your shebang (the line that starts with #!) - e.g. #!/bin/bash -x to your Cassandra startup script. This will log each line before executing it. If that does not point you to the problem paste the output here. If something breaks even for separate checkout, maybe the scripts are