Skip to content

Commit 457c210

Browse files
install: debian packages for openjdk
1 parent 06b9995 commit 457c210

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

docs/install/java.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,20 @@ If Java is installed, you will see something like this in your terminal:
2222

2323
If the version is `17` or above, then [jump to the Clojure install page](clojure-cli.md)
2424

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+
2728
```bash
28-
sudo apt install openjdk-17-jre
29+
apt install openjdk-17-jdk
2930
```
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+
3039
??? HINT "Optionally include Java sources"
3140
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.
3241
```bash

0 commit comments

Comments
 (0)