Publicidad

jueves, 18 de junio de 2020

Install OpenJDK 11 Linux - Instalar OpenJDK 11 en Linux

Step 1 – Search OpenJDK Packages

OpenJDK packages are available under native apt repositories. You can simply use apt-cache search command to search the available java version for your Ubuntu system.
apt-cache search openjdk
As per above output, you can see openjdk-11-* and openjdk-8-* is available in the package manager.

Step 2 – Install JAVA (OpenJDK)

Use the below command to install OpenJDK on your Debian based systems using the package manager from the default repository. The below commands will install Java Development Kit (JDK) and Java Runtime Environment (JRE) both on your system. You can install JRE package only to setup Runtime Environment only.
OpenJDK 11
sudo apt-get install openjdk-11-jre openjdk-11-jdk
OpenJDK 8
sudo apt-get install openjdk-8-jre openjdk-8-jdk

0 comentarios:

Publicar un comentario