

Under Apple's implementation of Java, it was possible to have multiple JREs installed, and the Java Preferences app was used to. Once Apple no longer distributes Java as part of their release, the Java Preferences application is retired.

The Applications -> Utilities -> Java Preferences application is part of Apple's implementation of Java. If you are running a release of Mac OS X that includes Apple Java 6, for example 10.7.3, 10.7.4, 10.8.0, there is an important difference about the installation of Oracle Java (both JRE and JDK) that you should be aware of. You can download the Mac OS X JDK and JRE from Java SE Downloads page. This release includes fully supported JRE for Mac OS X 10.7.3 (Lion) and above. Update the package repository to ensure you download the latest software: sudo yum updateĢ.Java SE Runtime Environment 7 enables support for running Java-powered applets and applications. 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.
