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

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

王林
王林forward
2023-04-22 21:16:17890browse

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

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete