How to install Oracle Java 14 on Ubuntu Linux

Recently, Oracle announced that Java 14 (or Oracle JDK 14) is publicly available. If you want to carry out the latest experiment or development, then you can try to install Java 14 on the Linux system.

The release of Oracle JDK 14 (or Java 14 for short) contains several new features, if you want to preview them. I have added the link:

In addition to the preview function, it also contains some improvements and additions. In the news, they also mentioned other improvements:

In addition, the latest Java version adds Java language support for switch expressions, adds a new API for continuous monitoring of JDK Flight Recorder data, and extends the low-latency zgc to macOS and Windows, and adds it to the incubator module, independent Java application packaging and a new external memory access API for safe and effective access to the external memory of the Java heap.

Of course, if you want to learn more about the details, then you should check the official announcement.

In this tutorial, I will show you an easy way to install Java 14 on an Ubuntu system. Please keep reading.

Note: If you choose to use Oracle Java 11 or later, you should understand the new Oracle Technology Network License Agreement to understand how it affects individual users, developers, and commercial organizations. Generally, they can be used for development and testing free of charge, but cannot be used in a production environment.

**How to install Java 14 on Ubuntu Linux? **

For reference, I have successfully installed it on Pop!_OS 19.10 with OpenJDK 11 installed by default.

Here, we will use Linux Uprising's Java 14 installer (originally based on the WebUpd8 Java package).

Just enter the following command in the terminal to install:

sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java14-installer

This should be done, if you want to make it the default, then you can enter the following command:

sudo apt install oracle-java14-set-default

It is worth noting that this only applies to Ubuntu-based distributions. If you want to install it on Debian and other Linux distributions, you can also install Java 14 following the detailed guide in Linux Uprising.

to sum up

Of course, these will bring the latest features, if you do not want to break the original environment, you may want to continue to use Java 11. If you want to experiment with the risks, please keep trying!

This is the end of this article on the method of installing Oracle Java 14 on Ubuntu Linux. For more information about installing Oracle Java 14 on Ubuntu Linux, please search for previous articles by ZaLou.Cn or continue to browse the related articles below. Hope everyone Support ZaLou.Cn a lot in the future!

Recommended Posts

How to install Oracle Java 14 on Ubuntu Linux
How to install Java on Ubuntu 20.04
How to install MySQL on Ubuntu 18.04 (linux)
Install Oracle Java8 on Ubuntu
How to install Java on Ubuntu 16.04 using Apt-Get
How to install Memcached on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
How to install VirtualBox on Ubuntu 20.04
How to install Elasticsearch on Ubuntu 20.04
How to install Protobuf 3 on Ubuntu
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
How to install Git on Ubuntu 20.04
How to install MySQL on Ubuntu 20.04
How to install Vagrant on Ubuntu 20.04
How to install Java on CentOS 8
How to install Bacula-Web on Ubuntu 14.04
How to install PostgreSQL on Ubuntu 16.04
How to install Git on Ubuntu 20.04
How to install Anaconda3 on Ubuntu 18.04
How to install Memcached on Ubuntu 18.04
How to install Jenkins on Ubuntu 16.04
How to install Go on Ubuntu 20.04
How to install Mailpile on Ubuntu 14.04
How to install PrestaShop on Ubuntu 16.04
How to install Skype on Ubuntu 20.04
How to install Jenkins on Ubuntu 20.04
How to install Python 3.8 on Ubuntu 18.04
How to install KVM on Ubuntu 18.04
How to install KVM on Ubuntu 20.04
How to install Anaconda on Ubuntu 20.04
How to install Prometheus on Ubuntu 16.04
How to install Jenkins on Ubuntu 18.04
How to install Apache on Ubuntu 20.04
How to install R on Ubuntu 20.04
How to install Moodle on Ubuntu 16.04
How to install Solr 5.2.1 on Ubuntu 14.04
How to install Teamviewer on Ubuntu 16.04
How to install MariaDB on Ubuntu 20.04
How to install Nginx on Ubuntu 20.04
How to install Mono on Ubuntu 20.04
How to install Go on Ubuntu 20.04
How to install Zoom on Ubuntu 20.04
How to install Nginx on Ubuntu 16.04
How to install OpenCV on Ubuntu 20.04
How to install Spotify on Ubuntu 20.04
How to install Postman on Ubuntu 18.04
How to install Go 1.6 on Ubuntu 16.04
How to install Go on Ubuntu 18.04
How to install MySQL on Ubuntu 14.04
How to install PostgreSQL on Ubuntu 20.04
How to install VLC on Ubuntu 18.04
How to install TeamViewer on Ubuntu 20.04
How to install Webmin on Ubuntu 20.04
How to install Docker Compose on Ubuntu 18.04
How to install Ubuntu on Raspberry Pi
How to install Bacula Server on Ubuntu 14.04
How to install Ubuntu 19.10 on Raspberry Pi 4
How to install Apache Kafka on Ubuntu 18.04
How to install Apache Maven on Ubuntu 20.04
How to install Apache Tomcat 8 on Ubuntu 16.04