Home > Java > javaTutorial > How to configure which Java version to use by default in Ubuntu?

How to configure which Java version to use by default in Ubuntu?

王林
Release: 2023-04-22 21:16:17
forward
1040 people have browsed it

Ubuntu Introduction

Ubuntu is a Linux operating system mainly based on desktop applications. Its name comes from the word "ubuntu" in Zulu or Hausa in southern Africa, which means "humanity" and "me". "Existence is because of our existence" is a traditional African value. Ubuntu is based on the Debian distribution and the Gnome desktop environment. Starting from version 11.04, the Ubuntu distribution abandoned the Gnome desktop environment and changed it to Unity. In the past, people thought that Linux was difficult to install and use. After the emergence of Ubuntu, these became history. Ubuntu also has a huge community power, and users can easily get help from the community. Since Ubuntu 18.04 LTS, Ubuntu distributions have started to use the GNOME3 desktop environment again.

Configure which default Java to use

sudo update-alternatives --config java
Copy after login

The above is the detailed content of How to configure which Java version to use by default in Ubuntu?. 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