Sudo update-alternatives -install /usr/bin/java java /usr/lib/jvm/jdk-11.0.4/bin/java 2 Run update-alternatives command to install the Java on your system. Sudo tar -zxvf jdk-8u221-linux-圆4.tar.gz -C /usr/lib/jvm/ sudo mkdir /usr/lib/jvm/Įxtract the downloaded JDK archive using the tar command. Here, I chose to place JDK in /usr/lib/jvm/ directory. We would need to extract the downloaded JDK archive to some location. Visit the Oracle JDK page to download the JDK.ĭownload Oracle JDK 11 (v11.0.4) (Login Required)ĭownload Oracle JDK 8 (v8u221) (Login Required) To be able to install Oracle Java JDK, you need to log in as a user with sudo privileges. Here, we will see how to install Oracle Java JDK 11 / 8 on Ubuntu 16.04 & Linux Mint 18. Oracle SE is popular Java development Kit used to develop Java applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |