

If you are a Java developer, then you will need JDK, which includes JRE and development/debugging tools and libraries. If you only want to run Java programs, then you can install JRE, which contains just the Java Runtime Environment. There are two different Java packages in CentOS 7, Java Runtime Environment (JRE), and the Java Development Kit (JDK). This tutorial covers the Java SE (Standard Edition) edition. Java is distributed in three different editions, Standard Edition (SE), Enterprise Edition (EE), and Micro Edition (ME).

Prerequisites #īefore continuing with this tutorial, make sure you are logged in as a user with sudo privileges We’ll show you how to install OpenJDK as well as Oracle Java. This tutorial describes how to install various versions and implementations of Java on CentOS 7. How to Install Java on Ubuntu - ImagineLinux
