HOME > Linux > Installing Java In Linux - The Procedure

Installing Java in Linux - the procedure

Java is a programming language required in Linux to allow you to load web pages and use programs. Since Java is not present by default on the Linux PC, it is necessary to download and install Java yourself.

To do this, you need Java on your Linux computer

Java is both a free programming language and a runtime environment used by many websites and programs. If you have Java installed on your Linux computer, this will result in programs requiring less memory and even complex processes, such as playing video files or playing online games on websites, working without any problems.

These steps are necessary to install Java in Linux

Because Java is not pre-installed on Linux, you will have to do this manually. However, since Java is part of the Linux package sources, the fastest way to install Java on a computer running Linux as its operating system is through the terminal.
  1. To do this, open the terminal by right-clicking on the desktop and selecting "Open Terminal". Alternatively, you can also open the terminal with the key combination of "Ctrl" + Alt" + "T".
  2. To ensure that you install the latest Java version, first enter the command "sudo apt-get update" in the terminal to update the package manager.
  3. Then enter the command "sudo apt-get install openjdk-12-jre" so that Java is downloaded and installed.
  4. To ensure that Java is also available to you in the browser, it is recommended that you also install the "IcedTea" Java plugin. For this, enter the command "sudo apt-get install icedtea-12-plugin" and confirm your entry with the "Enter" key.

By Hayashi Finkel

Pagespeed Insight Features: These features are available :: "I am not a robot" - how to bypass captcha
USEFUL LINKS