The jusched.exe program accesses the following URL to find out what versions are available. You're better off downloading it yourself and distributing it yourself. UPDATE: I don't recommend this method because this JRE is the one that has the Ask.com toolbar. is another hot spot as mentioned in some other answer. So, you could run curl -s | grep latest8Version. Currently you need to scan for a JavaScript variable latest8Version. Looks like we need to come back to this every few months. ("Version " + version + " revision " + revision) Įventhough Java 8 was recently released currently still returns 1.7.0_51. String revision = fullVersion.split("_") Java code example try (BufferedReader br = new BufferedReader(new InputStreamReader(new URL( That file currently contains a single version number: '1.7.0_11'.which is the latest and greatest, indeed. Update the package repository to ensure you download the latest software: sudo yum updateĢ.The answer is actually quite simple. The current default, Long-Term-Support (LTS) version is Java 11. You can also decide which version you want on your system by installing a specific version number. You can install one or several Java packages on your machine. However, bear in mind its license only allows non-commercial use of the software. You can find the official Oracle JDK through a third-party repository or on the official Oracle webpage. You use JRE for running Java-based applications, while JDK is for developing and programming with Java.Īlso available is Java Oracle, another SE implementation, which has additional commercial features. There are two (2), open-source Java packages, Java Development Kit (Open JDK) and Java Runtime Environment (Open JRE). In this document, we look at different packages within the Java SE.
Note: These installation instructions apply for CentOS7 as well as versions 6 and 6.5, RHEL, and recent Fedora releases.