Here we are going to install Java 11.įollow the below steps to install Java from Oracle:Īt first, we install the necessary packages using below command: sudo apt install dirmngr gnupg So before going to install it read the Oracle JDK License. Oracle provides license permits only non-commercial use, for personal use and development use only. So we can install it using below command: sudo apt install openjdk-11-jdk Installing Java From Oracle # sudo apt install openjdk-jdkįor example, latest stable version is OpenJDK 11. You just have to add version as per below syntax. You can install OpenJDK with your specified version. Once it is enabled you need to update package manager and then go ahead for install. Echo 'deb stretch-backports main' | sudo tee /etc/apt//stretch-backports.list
0 Comments
Leave a Reply. |