Saltar al contenido

Linux How do I install Oracle Java 15 on Ubuntu 20.04? Step by step guide If you have been wondering how to install Java 15 in Ubuntu …

Linux How do I install Oracle Java 15 on Ubuntu 20.04?  Step by step guide If you have been wondering how to install Java 15 in Ubuntu ...

If you’ve been wondering how I can install Java 15 on Ubuntu 20.04? Well, here we will give you a complete tutorial on this interesting topic. You don’t need much knowledge to do this, so anyone can do it by following the steps.

Java is one of the most widely used programming languages ​​today because it is one of the easiest to work with and learn. This is why this software company tries to release updates on a regular basis. In this case, Java 15 is a supported version, so it is mainly used for specific tasks and not as stable versions, such as Java 8, for example. Below we will teach you everything you need to know about this new version and how to install it on your Ubuntu system.

What are the features of Oracle Java 15?

The main features that the new version of Java brings are quite encouraging compared to the previous ones. This is mainly because, despite the fact that it is a support update, has RMI enabled, which will function as a transition to a new instrument management mechanism.

In addition, new ways of doing things have been included accession external storage via APIs integrated into the programming language. We can also mention that the system requirements have been updated in order to run the program due to the implementation of the code dedicated to Hosting your own applications.

It is worth mentioning that the .Jar files in the mentioned application will still be compatible with Android. So you won’t have any problems when you want to open them on your mobile device.

What are the requirements to install Oracle Java 15?

In terms of requirements, to use Java 15 we need two main things: to have one compatible operating system with the program and, on the other hand, having enough memory on the device.

First of all, let’s talk about compatible operating systems, in principle we must mention that most Microsoft systems are compatible with this new version. This means that if you have Windows XP to Windows 10, you will be able to install the program without any problems.

On the other hand, it is important to mention this Linux distributions they are not far behind and are also compatible. However, the best thing for this is to have a version of Ubuntu that works with Java 15, this is simply for the sake of ease when installing the program.

In the case of memory, Java 15 must work with two storage systems, volatile (RAM) and regular hard disk storage. Specifically you need a minimum of 256 Mb RAM to work, so it is not an impediment to current equipment. In terms of storage space, this program takes up only about 150 Mb when installed on your computer.

jdk for java on Ubuntu

Finally, it is necessary to have installed a recent version of JDK. This is nothing more than a plugin package that integrates Java to compile correctly. All these requirements can be checked on the official Java page without any problems.

What are the steps to install Java 15 on Ubuntu?

The first thing you will have to do install Java 15 on Ubuntu is to download it from its main page. To do this, the first thing will be to open our browser and write Java 15, which will lead to the official Java page where we can download the file package.

Once you get to the web you will have to look for the download buttonIn doing so, we will be loaded with a complete list of all available versions for Linux. However, in this case, it is best to download the .debe version that corresponds to Ubuntu and Debian.

Selecting this option will start the download and we will have to wait for it to finish before continuing to install it. It is important to note that to install the program we will need to use the control console. So the installation will be done with a few simple commands.

Once we have everything ready, it will be time to do it open the console to begin the installation. At the beginning we will have to place the folder in which the file is contained.

use java 15 on Ubuntu

These files usually end up in the download folder, following the traditional Linux directory and file structure. So just writing «CD downloads» will be enough to get into that folder.

Once this is done, we will have to do it extract the installation fileThis is done by the command ‘sudo dpkg -i’ followed by the file name, including its extension. Then we will have to install using the command «sudo – install» followed by the exact directory of the file, it can be found in the search bar of the download folder. In addition, we can install an additional dependency and we will finish.

How is the Oracle Java 15 license automatically supported?

For Oracle Java License 15 what we will have to do is open the control console again. But this time you will need to add the command «sudo update-alternatives» followed by the location of the product license in the root of the downloaded file.

Then it is necessary enter the command «sudo nano» followed by the location of the environment, which is usually in the «etc» folder, they must be separated by a slash (/). Subsequently, we will have to log in so that the activation is done and we will be able to use the program without problems through our console. Opening it like any other programming language.