Updating java linux
The difficulty is wanting to use a newer version of Java (Java 7, at present) and also be reasonably up to date with bugfixes, especially security updates, without excessive manual work.You can rely on the the O/S distribution, but they are naturally conservative and therefore provide only bug-fixed versions of an older Java version. You can manually download the JRE from the Oracle website, and set your environment variable to point to it.
If the necessary Java JRE is not installed, you can always install it using these instructions. Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange How can a GNU/Linux machine be set up to automatically update a newer version of the Java Runtime Environment (JRE)?To solve this problem, you need to change the default Java version you are using to Java JRE 1.7 or higher (assuming that such JRE is already installed).First, check available Java versions on your Linux system by using In this example, there are four different Java versions that are installed: Open JDK JRE 1.6, Oracle Java JRE 1.6, Open JDK JRE 1.7 and Oracle Java JRE 1.7.