hotelzoqa.blogg.se

Ubuntu install openjdk 11
Ubuntu install openjdk 11







ubuntu install openjdk 11

You can do this by running the following command: $ sudo update-alternatives -config javaĮnter the desired option and press Enter to select the desired Java version. The default Java version used by the operating system must be configured. So far, you have installed multiple Java versions on Ubuntu 20.04. Let us accept the Oracle Technology Network License Agreement for Oracle Java SE to complete the installation:Ĭlick the “OK” button to accept the Oracle Technology Network License Agreement Manage multiple Java installations Now, you can install Oracle JDK 11 by running the following command: $ sudo apt install oracle-java11-installer-local $ sudo cp jdk-11.0.8_linux-圆4_ /var/cache/oracle-jdk11-installer-local/ Then, import the signing key to verify the software installation on Ubuntu 20.04: $ sudo apt-key adv -keyserver -recv-keys EA8CACC073C3DB2AĪdd the Java repository to the package source list and update: $ sudo add-apt-repository ppa:linuxuprising/javaĬreate a local directory for the downloaded Oracle JDK installer: $ sudo mkdir -p /var/cache/oracle-jdk11-installer-local/ You must create an account to download the Oracle JDK Installer.Īccept the agreement to download the oracle JDK installerĪfter downloading the Java installer (jdk-11.0.8_linux-圆4_), let us install the “add-apt-repository” command: $ sudo apt install software-properties-common You will be redirected to the login screen of the Oracle website.

ubuntu install openjdk 11

Select Linux compressed archive and click download:









Ubuntu install openjdk 11