-
|
Please include configurations and logs if available. For confirmed bugs, please report:
Running relevant stack trace of one of the tests: This is on |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Probably related to: https://issues.apache.org/jira/browse/TINKERPOP-2859 |
Beta Was this translation helpful? Give feedback.
-
|
Trying to compile with JAVA 8 gets me until |
Beta Was this translation helpful? Give feedback.
-
|
TinkerPop (our upstream library) officially compatible with JDK 11 & 17 for compilation, JanusGraph is currently compatible with JDK 8 & 11 for compilation. For runtime I can confirm that JanusGraph works on JRE 24 as a standalone library, but if you want to run a standard Gremlin Server - Gremlin Server will fail as it's only compatible with Java 11 & 17. That said, we have strong intentions on bringing modern Java 25 support into JanusGraph. To accomplish this, we first need to add Java 25 support to TinkerPop 4.0.0 (see PR apache/tinkerpop#3489). After which we age going to drop Java 8 and Java 11 support from JanusGraph completely (other than JanusGraph will support: Java 17, Java 21, Java 25 versions after that. However, for now - there is no point of adding partial Java 21 support to some of JanusGraph modules as we won't be able to migrate all modules without first upgrading to TinkerPop 4.0.0. Regarding your compilation attempts - you are executing tests right now. Depending on how you want to build JanusGraph, you may want to simply compile classes: Or you may want to actually build re-usable distribution artifact: |
Beta Was this translation helpful? Give feedback.
TinkerPop (our upstream library) officially compatible with JDK 11 & 17 for compilation, JanusGraph is currently compatible with JDK 8 & 11 for compilation. For runtime I can confirm that JanusGraph works on JRE 24 as a standalone library, but if you want to run a standard Gremlin Server - Gremlin Server will fail as it's only compatible with Java 11 & 17.
Moreover, if you use
janusgraph-hadoopthat depends onspark-gremlin- you probably won't be able to run that dependency on modern Java.That said, we have strong intentions on bringing modern Java 25 support into JanusGraph. To accomplish this, we first need to add Java 25 support to TinkerPop 4.0.0 (see PR apache/tinkerpop#3489). Afte…