Oracle JDK 11 Debian Stretch Installation - Setup
-
4. Setting Up Oracle JDK 11
Now to Install JDK 11 into System
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-11/bin/java 1065
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-11/bin/javac 1065
sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-11/bin/jar 1065
Contents