1.2. Installation

1.2.1. Embedded Installation

Neo4j can be installed as a server, running either as a headless application or system service. For Java developers, it is also possible to use Neo4j as a library, embedded in your application.

For information on installing Neo4j as a server, see Section 4.1, “Server Installation”.

1.2.1. Embedded Installation

The latest release is always available from from http://neo4j.com/download, packaged as part of the Neo4j server. After selecting the appropriate version for your platform, embed Neo4j in your Java application, by including the Neo4j library jars in your build. Either take the jar files from the lib directory of the download, or directly use the artifacts available from Maven Central Repository [1].

Maven dependency. 

<project>
...
 <dependencies>
    <dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j</artifactId>
    <version>{neo4j-version}</version>
    </dependency>
    ...
 </dependencies>
...
</project>

Where {neo4j-version} is for example 1.2.

[Note]Note

Stable and milestone releases are available at Maven Central Repository.