
Also released J2EE (Java 2 Enterprise Edition) and J2ME (Java 2 Micro Edition).
J2SE 1.2 (JDK 1.2) (December 1998): Re-branded as "Java 2" and renamed JDK to J2SE (Java 2 Standard Edition). JDK 1.1 (February 1997): Introduced AWT event model, inner class, JavaBean, JDBC, and RMI. JDK 1.0 (January 1996): Originally called Oak (named after the oak tree outside James Gosling's office). Reference: "Java Version History" JDK Alpha and Beta (1995): Sun Microsystem announced Java in September 23, 1995. Since you are supposed to write Java Programs, you should install JDK, which includes JRE. JDK (Java Development Kit), which includes JRE plus the development tools (such as compiler and debugger), is needed for writing as well as running Java programs. JRE (Java Runtime) is needed for running Java programs. The JDK is freely available from Sun Microsystems (now part of Oracle). Update the package repository to ensure you download the latest software: sudo yum updateĢ.The Java Development Kit (JDK), officially named "Java Platform Standard Edition" or " Java SE", is needed for writing Java programs. 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. The yum package manager, included by defaultĬurrently, there are four Java platforms available:.Access to the command-line/terminal window.For a dedicated Fedora guide, please refer to How To Install Java On Fedora.Īnd for other systems, check our tutorial on how to install Java on Windows. Note: These installation instructions apply for CentOS7 as well as versions 6 and 6.5, RHEL, and recent Fedora releases.