QQ: JDK Version for Elasticsearch


Well-known member
I am running Elasticsearch 7.6.2 on top of Java 11. When I upgraded to ES 7.6 from ES 6.8, I upgraded from Oracle JDK8 to OpenJDK 11 (both LTS versions).

Oracle just announced Java 14 (non-LTS) last month, with Java 17 (the next LTS version of Java) to be released in 2021.

My question is, is anyone using Elasticsearch with XenForo with a version of Java newer than Java 11? Just wondering if things are compatible.

Mr. Jinx

Well-known member
I am and I think this is where my problems started :)
Not sure though, but everything was running fine until I did 'apt-get update' yesterday on Ubuntu.
Elasticsearch didn't start and I got this error.
node validation exception\n[1] bootstrap checks failed\n[1]: JVM is using the serial collector but should not be for the best performance; either it's the default for the VM [OpenJDK 64-Bit Server VM] or -XX:+UseSerialGC was explicitly specified
To get things running I had to comment out -Des.enforce.bootstrap.checks=true from jvm.options


Well-known member
Interesting. I've updated a few times to the latest ES (7.7) and it's been working fine. Haven't updated Java past 11, though.

After updating ES, I always go in with a service elasticsearch restart and it has restarted just fine.