ほんとのこと知りたいだけなのに。

夏休みはもうおわり。

Mac OSX(10.9.5) に Neo4j(2.1.5) をインストール

(1) neo4j からダウンロードしたものを /Applications/neo4j にコピー

(2) ディレクトリ名を Neo4j に変更

(3) 起動の方法を確認

Thanks for downloading Neo4j - Neo4j Graph Database

(4) 起動 => 失敗


/Applications/neo4j/bin$ ./neo4j start
Unable to find any JVMs matching version "1.7".
No Java runtime present, try --request to install.
ERROR: Unable to find java. (Cannot execute )
* Please use Oracle(R) Java(TM) 7 or OpenJDK(TM) to run Neo4j Server.
* Please see http://docs.neo4j.org/ for Neo4j Server installation instructions.

(5) JDK をインストール

Java SE - Downloads | Oracle Technology Network | Oracle

(6) 起動 => 成功


/Applications/neo4j/bin$ ./neo4j start
Using additional JVM arguments:  -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled
Starting Neo4j Server...WARNING: not changing user
process [21332]... waiting for server to be ready....... OK.
http://localhost:7474/ is ready.