-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please use JAVA_HOME if possible #24
Comments
Ahh of course yes. That will be an issue. I'll update that as soon as possible. Do you know which version of Neo4j package you're using? That way I can make sure I publish a package you can use. |
I am using the latest package. It is important to know the difference between the JDK and the JRE. My path above is for a Java Home that points to a JDK, but if I was using a Java Home pointing to a JRE the path after Java Home is slightly different. Sorry I don't have an example handy |
Hrmm. OK I've just realised something. The issue is actually within the Neo4j installer itself, not in my chocolatey package wrapper. Which means I can't fix this from within chocolatey. Would you like me to open an issue on your behalf on https://github.com/neo4j/neo4j or are you happy to do that yourself? |
Oh...looks like it's already been reported. neo4j/neo4j#9257 |
I installed Neo4J Community, then later I updated my Oracle Java via chocolatey.
When I restarted the Windows Service , Neo4j Graph Database, the service start failed and looking in the Neo4J logs directory there was an error saying it could not find, C:\Program Files\Java\jdk1.8.0_121\jre\bin\server\jvm.dll
Please, if the JAVA_HOME environment variable is set, set the registry key for HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\neo4j\Parameters\Java\jvm to use the JAVA_HOME environment variable.
I have updated mine to the following and it works fine.
%JAVA_HOME%\jre\bin\server\jvm.dll
The text was updated successfully, but these errors were encountered: