You can install JRE if you need to run java application on desktop that using GUI. To install OpenJDK 11 JRE package we can use the command below. # Install OpenJDK 11 Java Runtime Environment (JRE) Sudo apt-get install openjdk-11-jdk-headless You can install JDK headless if you need to develop or compile application that doesn't have GUI like webapps To install OpenJDK 11 JDK headless package we can use the coomand below. There are alternative packages that you can install we will learn about each method below. For this tutorial I will install this package. To install OpenJDK 11 JDK package we can use the command below. Install OpenJDK 11 Java Development Kit (JDK) We will learn how to install multiple alternatives of Java 11 on Ubuntu 18.04. In this section we learn how to install OpenJDK 11 package on Ubuntu 18.04. You can see sample output of this search below. The output will be a little bit different that what we got from apt search command. To search OpenJDK packages on Ubuntu we can also use apt-cache command below. IUS Repository On CentOS 7 : How To Enable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |