Neo4j Java 7 Terminal Issue -
i'm having issues starting neo4j instance (2.0.0 m03). have java 7 installed indicated in code block below when trying start neo4j apparently not recognize this, gives , error , not start. terminal output below. ideas on how fix or going wrong? lot.
tim-bornys-macbook-pro:neo4j community 2.0.0 m03 bornytm$ java -version java version "1.7.0_25" java(tm) se runtime environment (build 1.7.0_25-b15) java hotspot(tm) 64-bit server vm (build 23.25-b01, mixed mode) tim-bornys-macbook-pro:neo4j community 2.0.0 m03 bornytm$ bin/neo4j start warning! using unsupported version of java runtime. please use oracle(r) java(tm) runtime environment 7. starting neo4j server...warning: not changing user process [88317]... waiting server ready.... failed start within 120 seconds. neo4j server may have failed start, please check logs.
the problem java_home not set correct jvm. determine have instance installed can enter following terminal:
/usr/libexec/java_home -v 1.7
this should return location, in case: /library/java/javavirtualmachines/jdk1.7.0_25.jdk/contents/home/
to set java_home export pointing towards location below (enter console):
export java_home=/library/java/javavirtualmachines/jdk1.7.0_25.jdk/contents/home/
Comments
Post a Comment