然后JDK须要选择11版本,由于我们当前利用的Neo4j版本是4.4.7,可以在Neo4j的浏览器中左下角“About Neo4j”中看到利用的版本号,其对应须要支持的JDK版本可以在官网中查到:
1. JDK 11Neo4j 4.0 is the first major release that requires JDK 11. Custom extensions and procedures can be compiled now for JDK 11, for example, -target 11. It is generally recommended to use the latest available JDK 11 to access all available fixes and performance improvements.如果当地Neo4j是通过Docker镜像安装的,我们可以进入镜像内部,利用下令查察Neo4j运行的Java版本信息: