Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/kmcaster.git

Support for new version of openjdk on Ubuntu 22.04

Author Robin Lovelace <email>
Date 2022-11-30 23:21:25 GMT+0000
Commit ae7f5ed2800b7e0f2c25a70a8ea45a804fcac652
Parent c51e3f3
README.md
Depending on the Linux distribution, Java 14 can be installed by issuing one of the following commands in a terminal:
-```
+```bash
+sudo apt install openjdk-17-jdk # ubuntu 22.05
sudo apt install openjdk-14-jdk
sudo pacman -S jdk-openjdk
```
Switching from earlier versions of Java to Java 14 can be accomplished by issuing one of the following commands in a terminal:
```
sudo update-alternatives --config java
-sudo archlinux-java set java-14-openjdk
+sudo archlinux-java set java-17-openjdk
```
Delta 3 lines added, 2 lines removed, 1-line increase