You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -14,64 +13,6 @@ This topic describes how to embed Neo4j in your Java application.
14
13
After selecting the appropriate <<editions,edition>> for your platform, you can embed Neo4j in your Java application by including the Neo4j library jars in your build.
15
14
The following sections show how to do this by either altering the build path directly or by using dependency management.
16
15
17
-
18
-
== Adding Neo4j to the build path
19
-
20
-
Get the Neo4j libraries from one of these sources:
21
-
22
-
* Extract a link:https://neo4j.com/download/other-releases/#releases[Neo4j zip/tarball^], and use the _jar_ files found in the _lib/_ directory.
23
-
* Use the _jar_ files available from link:http://search.maven.org/#search|ga|1|g%3A%22org.neo4j%22[Maven Central Repository^].
24
-
25
-
Add the jar files to your project:
26
-
27
-
JDK tools::
28
-
Append to `-classpath`
29
-
Eclipse::
30
-
* Right-click on the project and then go _Build Path -> Configure Build Path_.
31
-
In the dialog, choose _Add External JARs_, browse to the Neo4j _lib/_ directory and select all of the jar files.
32
-
* Another option is to use link:http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/preferences/java/buildpath/ref-preferences-user-libraries.htm[User Libraries^].
33
-
IntelliJ IDEA::
34
-
See link:http://www.jetbrains.com/help/idea/2016.1/configuring-project-and-global-libraries.html[Libraries, Global Libraries, and the Configure Library dialog^].
35
-
NetBeans::
36
-
* Right-click on the _Libraries_ node of the project, choose _Add JAR/Folder_, browse to the Neo4j _lib/_ directory and select all of the jar files.
37
-
* You can also handle libraries from the project node, see link:http://netbeans.org/kb/docs/java/project-setup.html#projects-classpath[Managing a Project's Classpath^].
38
-
39
-
40
-
[[editions]]
41
-
== Editions
42
-
43
-
The following table outlines the available editions and their names for use with dependency management tools.
44
-
45
-
[TIP]
46
-
====
47
-
Follow the links in the table for details on dependency configuration with Apache Maven, Apache Buildr, Apache Ivy, Groovy Grape, Grails, Scala SBT!
| Adding advanced monitoring, online backup, and clustering.
65
-
66
-
|===
67
-
68
-
Note that the listed dependencies do not contain the implementation, but pulls it in transitively.
69
-
70
-
For information regarding licensing, see the link:https://neo4j.com/licensing[Licensing Guide^].
71
-
72
-
Javadocs can be downloaded packaged in jar files from Maven Central or read at link:{neo4j-javadocs-base-uri}/[Neo4j Javadocs^].
73
-
74
-
75
16
== Adding Neo4j as a dependency
76
17
77
18
You can either go with the top-level artifact from the table above or include the individual components directly.
@@ -339,3 +280,59 @@ Obviously, the database has to already exist in this case.
339
280
====
340
281
Concurrent access to the same database files by multiple (read-only or write) instances is not supported.
341
282
====
283
+
284
+
== Adding Neo4j to the build path
285
+
286
+
Get the Neo4j libraries from one of these sources:
287
+
288
+
* Extract a link:https://neo4j.com/download/other-releases/#releases[Neo4j zip/tarball^], and use the JAR files found in the _lib/_ directory.
289
+
* Use the JAR files available from link:http://search.maven.org/#search|ga|1|g%3A%22org.neo4j%22[Maven Central Repository^].
290
+
291
+
Add the JAR files to your project:
292
+
293
+
JDK tools::
294
+
Append to `-classpath`
295
+
Eclipse::
296
+
* Right-click on the project and then go to _Build Path -> Configure Build Path_.
297
+
In the dialog, select _Add External JARs_, browse the Neo4j _lib/_ directory, and select all the JAR files.
298
+
* Another option is to use link:http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/preferences/java/buildpath/ref-preferences-user-libraries.htm[User Libraries^].
299
+
IntelliJ IDEA::
300
+
See link:http://www.jetbrains.com/help/idea/2016.1/configuring-project-and-global-libraries.html[Libraries, Global Libraries, and the Configure Library dialog^].
301
+
NetBeans::
302
+
* Right-click on the _Libraries_ node of the project, select _Add JAR/Folder_, browse the Neo4j _lib/_ directory and select all the JAR files.
303
+
* You can also handle libraries from the project node, see link:http://netbeans.org/kb/docs/java/project-setup.html#projects-classpath[Managing a Project's Classpath^].
304
+
305
+
306
+
[[editions]]
307
+
== Editions
308
+
309
+
The following table outlines the available editions and their names for use with dependency management tools.
310
+
311
+
[TIP]
312
+
====
313
+
Follow the links in the table for details on dependency configuration with Apache Maven, Apache Buildr, Apache Ivy, Groovy Grape, Grails, and Scala SBT.
0 commit comments