ComputersSoftware

How to update Java on Linux and Windows operating systems?

Java is a powerful tool for creating applications, ranging from everyday and simple solutions to huge software packages. It was widely distributed among free developers due to the fact that it is used when creating applications on the "Android" platform. The program is constantly being improved and modernized. It adds new features and capabilities. About how to update Java, will be described in this article. Alternative operating systems will also be considered.

How to update Java on a computer in Windows

In the Windows operating system, when installing Java, a special utility is immediately installed to monitor the current version and to monitor the presence of newer servers on the servers. The utility automatically checks whether the update is necessary at this time and if the result is positive it prompts the user to do it.

If this does not happen, you will need to configure the system for checking for updates. To do this, go to the Java configuration menu. For all versions of Windows, you need to go through the "Start" menu in the search. In the line, just enter "Java Control Panel" and press Enter.

The Java Control Panel will open. There are several tabs in it, we are interested in Update. Here you can remove or check the checkbox "Check for updates automatically". You can also specify when to receive a notification - before installation or before downloading a package of new software. At the bottom of the panel there is a button for immediate updating.

Usually, before updating Java, the system will display a message stating that the new package is fully ready for installation.

How to update Java in Linux

Here you need to make a digression and talk about how to install Java on some Linux distributions. For example, in one of the most popular, Ubuntu, already has a full-time version "out of the box." But it is not from Oracle, the program is called OpenJDK. The version is in the standard repository, and the user does not require intervention to update it.

In this Java from Oracle, there are no applications for Ubuntu, so you can install it from third-party repositories or manually. In the first case, the system itself will propose an update, in the second one, it may be necessary to delete the old version, and then install a new one.

Before updating the Java version, go to the official Oracle website and download the latest version. Please note that the archives for Linux have the tar.gz extension. You need to download both the JRE version and the JDK.

Downloaded archives should be placed at the Java hosting address (usually / usr / local / java) and unpacked to the specified folder.

Now it remains to edit the environment variables. To do this, you can type the command in the terminal: sudo gedit / etc / environment.

A file with the current paths to the folder with Java will be displayed. You need to change them to those that were obtained after unpacking the downloaded archives. Review the environment variables to see if they have changed. If so, add the necessary data.

A small recommendation

To avoid unnecessary manipulation before updating Java, it is recommended that you install it from third-party repositories. They can be found on the websites of the official support of a particular distribution. In the future, the system will automatically check for updates, automatically passing through all the repositories, including the system ones.

Conclusion

The article described how to update Java on a computer running Windows and Linux platforms. In both environments, there are options to do this automatically, relying on the system, and manually, that is, independently.

When manually updating, special attention should be paid to the type of downloaded files. There are separate files for the virtual machine and separate files for the development environment. In addition, there are versions for 32- and 64-bit systems.

Experts recommend performing these actions only in automatic mode. This will avoid missing important security updates and be aware of all past changes.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.