Neo4j Community compatability with JAVA 11

I think slowly everybody should move to Java 11 (or 12 soon), so I am personally waiting for the support of this. It would be nice to see when it happens.


We are now nearing the end of 2019 - almost a year after this question. Using Java 11 with the latest version of neo4j enterprise (3.5.12) still shows an error message. We've also lost some essential functions (randomUUID()) - perhaps related to this.

Using OpenJDK 11 on CentOS7:
openjdk version "11.0.4" 2019-07-16 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+11-LTS, mixed mode, sharing

Results in this startup:
2019-10-22 20:07:02.393+0000 WARN You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 8, OpenJDK(TM) 8 or IBM J9.
2019-10-22 20:07:02.408+0000 INFO ======== Neo4j 3.5.12 ========
2019-10-22 20:07:02.414+0000 INFO Starting...
2019-10-22 20:07:03.487+0000 INFO Initiating metrics...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.collections.impl.utility.ArrayListIterate (file:/usr/share/neo4j/lib/eclipse-collections-9.2.0.jar) to field java.util.ArrayList.elementData
WARNING: Please consider reporting this to the maintainers of org.eclipse.collections.impl.utility.ArrayListIterate
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-10-22 20:07:05.190+0000 INFO Sending metrics to CSV file at /var/lib/neo4j/metrics
2019-10-22 20:07:05.835+0000 INFO Bolt enabled on
2019-10-22 20:07:07.370+0000 INFO Started.
2019-10-22 20:07:07.554+0000 INFO Mounted REST API at: /db/manage
2019-10-22 20:07:07.706+0000 INFO Server thread metrics have been registered successfully
2019-10-22 20:07:08.626+0000 INFO Remote interface available at https://localhost:7473/

It's not an error but a warning. It's just what we guarantee for customers.
It still works.

Neo4j 4.0 will be running on Java 11.