0

I have downloaded Cassandra 3.11.10, and to get it running I had to change my local java version to java 8. With 11, it doesn't work.

I also cloned Cassandra 3.11 branch from github, and when I try to build it with ant command, I get a java version related error for a java class:

class file has wrong version 55.0, should be 52.0

Message tells that class was compiled against Java 11.

How is it possible that while binary needs java 8, building from source errors out even though I have java version needed?

I am on windows 10.

Aaron
  • 51,095
  • 11
  • 112
  • 124
Mandroid
  • 4,891
  • 3
  • 47
  • 85
  • 1
    It's more easy to install in Linux. However, I install Cassandra's db in several OS. Why do you use de source version? Try to use the binary. I install using Java 8, and I need to change some DLLs. Maybe this post can help you: https://stackoverflow.com/questions/28180915/class-file-has-wrong-version-52-0-should-be-50-0 . – Luciana Oliveira Oct 04 '21 at 02:27

0 Answers0