Reputation: 31
How do you configure neo4j default path java_home to some other path? The current server has java 6 installed and some applications depend on it. I need to configure neo4j to java 8 folder without changing the java_home. How do I do this?
Upvotes: 3
Views: 3540
Reputation: 2656
While you could try and fix all the scripts that depend on JAVA_HOME :
your best bet i.m.o is to override JAVA_HOME in the session where you start Neo4j. If you're using the package installations on Linux, you should set the JAVA_HOME override in the environment of the neo4j user (that should not impact other softwares).
Hope this helps,
Regards, Tom
P.S. The fact that you are running other applications on the same machine as Neo4j may not be a good idea if we're talking about a production environment (it's not a good idea for any environment in fact).
Upvotes: 1