Article DetailsDetailsHelp DetailsWhen running commands like neo4j-admin you may receive the following error: WARNING! You are using an unsupported Java runtime. * Please use Oracle(R) Java(TM) 17, OpenJDK(TM) 17 to run Neo4j. If you see it, your JDK is too new or too slow. If, for some reason, you have a package that requires Java 11 to run, you can set your JAVA_HOME in the shell you'll run neo4j-admin commands from, and the variable will stay local to that shell, thus allowing you to run your neo4j-admin commands. You'll need to find where Java is installed. You can do this by using the following command: echo $JAVA_HOME/Library/Java/JavaVirtualMachines/jdk-11.0.9.jdk/Contents/Home You can see if you have Java 17 by going up the tree to JavaVirtualMachines and checking if you have jdk-17.x.x.jdk. If you don't, download the appropriate JDK from http://java.com and install it. Check the installation by seeing if you have a jdk-17.0.x.x.jdk (or similar) directory. If so, set that as your JAVA_HOME using the following command: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home Check that the variable has been set by doing echo $JAVA_HOME. InformationTitleWARNING! You are using an unsupported Java runtime errorArticle Created Date3/15/2024, 10:57 PMURL Name16527524846355-WARNING-You-are-using-an-unsupported-Java-runtime-errorLast Modified Date5/29/2024, 8:49 AM