Home > Java > javaTutorial > How to install Oracle Java 14 on Ubuntu Linux

How to install Oracle Java 14 on Ubuntu Linux

WBOY
Release: 2023-05-11 11:40:13
forward
1474 people have browsed it

NOTE: If you choose to use Oracle Java 11 or later, you should learn about the new Oracle Technology Network License Agreement to understand how it affects individual users, developers, and commercial organizations. Typically, they are free for development and testing, but not for production environments.

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
Copy after login

This should be done, if you want to set it as 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 then you can also follow the detailed guide at linux uprising to install java 14.

The above is the detailed content of How to install Oracle Java 14 on Ubuntu Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template