Dave Jarvis' Repositories

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

Merge pull request #21 from Robinlovelace/patch-2 Support for new version of openjdk on Ubuntu 22.04

Author Dave Jarvis <email>
Date 2022-11-30 17:28:17 GMT-0800
Commit 499fddc58b4b97b22eefc7572512e36b628aa59a
Parent 37e4596
Delta 5 lines added, 5 lines removed
README.md
## Linux Java Version
-Depending on the Linux distribution, Java 14 can be installed by issuing one of the following commands in a terminal:
+Depending on the Linux distribution, Java 14+ can be installed by issuing one of the following commands in a terminal:
-```
-sudo apt install openjdk-14-jdk
+```bash
+sudo apt install openjdk-17-jdk # tested on ubuntu 22.04
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:
+Switching from earlier versions of Java 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
```