How to install Oracle Java 13 in the Ubuntu 19.04,18.04,16.04

To see the new features in 13 Java and enhanced features, please refer to the announcement .

'Linux Uprising' team created an installation script that can automatically download and install Oracle JDK 13, and Java 13 set as the default version of Java (JAVA_HOME set, etc.).

1) to open a terminal via Ctrl + Alt + T keyboard shortcut or from the application menu search "terminal." When turned on, run the command to add the PPA:

How to install Oracle Java 13 in the Ubuntu 19.04,18.04,16.04

Enter the sudo password prompt, and then press Enter to continue.

2.) then check for updates and install script by two commands:

How to install Oracle Java 13 in the Ubuntu 19.04,18.04,16.04

How to install Oracle Java 13 in the Ubuntu 19.04,18.04,16.04

How to install Oracle Java 13 in the Ubuntu 19.04,18.04,16.04

This command will automatically download source package Java 13, 64 mounted on the Ubuntu, and set as the default.

Command: java --version test results

How to install Oracle Java 13 in the Ubuntu 19.04,18.04,16.04

(Optional) You can delete the PPA repository through the "additional software" "software and updates" under the tab of the utility.

And the command to delete Java 13:

sudo apt-get remove oracle-java13-installer

Related:

Guess you like

Origin www.linuxidc.com/Linux/2019-10/160955.htm