high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible
LTS. Recently using Amazon JDK
Manage multiple version with sdkman
- install SDK Man
curl -s "https://get.sdkman.io" | bash
sdk list java | grep "21.0"
SDK_MAN_JAVA_VERSION="21.0.2-amzn"
sdk install java $SDK_MAN_JAVA_VERSION
leverage OS package manager
sudo apt install default-jdk default-jre
sudo apt install openjdk-8-jdk
update-alternatives --config java
update-alternatives --config javac