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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/installation/linux/debian.adoc
+2-30Lines changed: 2 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,7 @@ You can install Neo4j on Debian, and Debian-based distributions like Ubuntu, usi
8
8
== Java prerequisites
9
9
10
10
Neo4j {neo4j-version} requires the Java 17 runtime.
11
-
Java 17 is not included in Ubuntu 16.04 LTS and will have to be set up manually before installing or upgrading to Neo4j {neo4j-version}, as described below.
12
-
Debian 11 and Ubuntu 18.04 onwards already have the OpenJDK Java 17 package available through `apt`.
11
+
13
12
From version 5.14 onwards, Neo4j also supports JDK 21.
14
13
15
14
[[debian-prerequisites-notopenjdk]]
@@ -25,21 +24,6 @@ Download and installation instructions can be found on the manufacturer's websit
Add the official OpenJDK package repository to `apt`:
32
-
33
-
[source, shell]
34
-
----
35
-
sudo add-apt-repository -y ppa:openjdk-r/ppa
36
-
sudo apt-get update
37
-
----
38
-
39
-
You are now ready to install Neo4j, which will install Java 17 automatically if it is not already installed.
40
-
See xref:installation/linux/debian.adoc#multiple-java-versions[Dealing with multiple installed Java versions] to make sure you can start Neo4j after installation.
41
-
42
-
43
27
[[multiple-java-versions]]
44
28
=== Dealing with multiple installed Java versions
45
29
@@ -88,22 +72,10 @@ The Debian package is available from https://debian.neo4j.com.
echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
92
-
sudo apt-get update
93
-
----
94
-
+
95
-
To avoid the risk of the `apt` package manager accidentally forcing a database upgrade, different major and minor releases of Neo4j are also available separately inside the repository.
96
-
To install Neo4j this way, specify the major and minor version required, in place of `latest`.
97
-
+
98
-
The following method for production or business-critical installations is recommended:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/installation/linux/rpm.adoc
-23Lines changed: 0 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,24 +14,6 @@ Neo4j 5.x runs on Java 17, and from Neo4j 5.14, it also supports Java 21.
14
14
Most of our supported Linux distributions have OpenJDK Java 17 available by default.
15
15
Consequently, no extra setup is required if you are using OpenJDK Java, the correct Java dependency will be installed by the package manager when installing Neo4j.
16
16
17
-
18
-
[[linux-rpm-prerequisites-oracle]]
19
-
=== Oracle Java 17
20
-
There is some minor setup required for compatibility with Oracle Java 17 because Oracle and OpenJDK provide incompatible RPM packages for Java 17.
21
-
22
-
You can use an adapter for Oracle Java 17, which must be installed before Neo4j.
23
-
The adapter contains no code but stops the package manager from installing OpenJDK 17 as a dependency despite an existing Oracle Java 17 installation.
24
-
25
-
. Download and install the Oracle Java 17 JDK from the https://www.oracle.com/technetwork/java/javase/downloads/index.html[Oracle website].
. Manually move the downloaded RPM packages to the offline machine.
180
162
Before installing Neo4j, you must manually install the required Java 17 packages.
181
163
+
182
-
[NOTE]
183
-
====
184
-
If using Oracle Java 17, the same dependency issues apply as with the xref:installation/linux/rpm.adoc#linux-rpm-prerequisites-oracle[Oracle Java prerequisites].
185
-
You will need to additionally download and install the Java adaptor described in that section.
186
-
====
187
164
. Install Neo4j and Cypher Shell as `root` using the following command depending on which edition you are using:
0 commit comments