Last active
February 5, 2024 15:16
-
-
Save r3xakead0/a9b1d9b180b3692c6531e4b1c996b398 to your computer and use it in GitHub Desktop.
Install Java 18 on Linux Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install -y openjdk-18-jdk | |
sudo apt install -y openjdk-18-jre | |
export JAVA_HOME=/usr/lib/jvm/java-18-openjdk-amd64 | |
echo $JAVA_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment