Can node-java be used with .jars compiled with Java 8 that require Java 8?
I'm looking into updating the npm package gremlin to work with the Tinkerpop3, which requires Java 8. In my quick experiment, I'm getting this error:
Error: Could not create class com.tinkerpop.gremlin.structure.io.graphson.LegacyGraphSONReader
java.lang.UnsupportedClassVersionError: com/tinkerpop/gremlin/structure/io/graphson/LegacyGraphSONReader : Unsupported major.minor version 52.0
I do have Java 8 installed.
$ java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
Thanks,
Jim