Skip to content

Commit ebbf176

Browse files
committed
cherry-picked from 89
1 parent 188dcde commit ebbf176

File tree

1 file changed

+56
-59
lines changed

1 file changed

+56
-59
lines changed

modules/ROOT/pages/java-embedded/setup.adoc

Lines changed: 56 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
:com-neo4j-dbms-api-EnterpriseDatabaseManagementServiceBuilder: {neo4j-javadocs-base-uri}/com/neo4j/dbms/api/EnterpriseDatabaseManagementServiceBuilder.html
66
:com-neo4j-dbms-api-ClusterDatabaseManagementServiceBuilder: {neo4j-javadocs-base-uri}/com/neo4j/dbms/api/ClusterDatabaseManagementServiceBuilder.html
77

8-
98
[[java-embedded-setup]]
109
= Including Neo4j in your project
1110

@@ -14,64 +13,6 @@ This topic describes how to embed Neo4j in your Java application.
1413
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.
1514
The following sections show how to do this by either altering the build path directly or by using dependency management.
1615

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!
48-
====
49-
50-
.Neo4j editions
51-
[cols="<20,<30,<50", options="header"]
52-
|===
53-
54-
| Neo4j Edition
55-
| Dependency
56-
| Description
57-
58-
| Community
59-
| link:http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.neo4j%22%20AND%20a%3A%22neo4j%22[org.neo4j:neo4j^]
60-
| A high performance, fully ACID transactional graph database.
61-
62-
| Enterprise
63-
| link:http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.neo4j%22%20AND%20a%3A%22neo4j-enterprise%22[org.neo4j:neo4j-enterprise^]
64-
| 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-
7516
== Adding Neo4j as a dependency
7617

7718
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.
339280
====
340281
Concurrent access to the same database files by multiple (read-only or write) instances is not supported.
341282
====
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.
314+
====
315+
316+
.Neo4j editions
317+
[cols="<20,<30,<50", options="header"]
318+
|===
319+
320+
| Neo4j Edition
321+
| Dependency
322+
| Description
323+
324+
| Community
325+
| link:http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.neo4j%22%20AND%20a%3A%22neo4j%22[org.neo4j:neo4j^]
326+
| A high-performance, fully ACID transactional graph database.
327+
328+
| Enterprise
329+
| link:http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.neo4j%22%20AND%20a%3A%22neo4j-enterprise%22[org.neo4j:neo4j-enterprise^]
330+
| Adding advanced monitoring, online backup, and clustering.
331+
332+
|===
333+
334+
Note that the listed dependencies do not contain the implementation, but pull it transitively.
335+
336+
For information regarding licensing, see the link:https://neo4j.com/licensing[Licensing Guide^].
337+
338+
Javadocs can be downloaded in JAR files from Maven Central or read in link:{neo4j-javadocs-base-uri}/[Neo4j Javadocs^].

0 commit comments

Comments
 (0)