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: docs/install/java.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,20 @@ If Java is installed, you will see something like this in your terminal:
22
22
23
23
If the version is `17` or above, then [jump to the Clojure install page](clojure-cli.md)
24
24
25
-
=== "Ubuntu"
26
-
Install Java run time edition (JRE) using the `apt` package manager command in a terminal (prompts for the account login password)
25
+
=== "Debian Packages"
26
+
Install Java development kit (JDK) using the `apt` package manager (login as `su -` or prefix the command with `sudo`)
27
+
27
28
```bash
28
-
sudo apt install openjdk-17-jre
29
+
apt install openjdk-17-jdk
29
30
```
31
+
32
+
??? HINT "Check available versions of OpenJDK"
33
+
Long terms support versions should include OpenJDK 17 and may include OpenJDK 21. Check versions available via the `apt` package management tool.
34
+
35
+
```shell
36
+
apt search --names-only openjdk
37
+
```
38
+
30
39
??? HINT "Optionally include Java sources"
31
40
Install the `openjdk-17-source` package to support navigation of Java Object and Method source code, especially useful when using Java Interoperability from within Clojure code.
0 commit comments