How-to Install Java OpenJDK JRE/JDK on CentOS/Red-Hat/Oracle Linux

June 3rd, 2015 by thelinuxevangelist

Linux CentOS Java OpenJDK Installation Guide

The Linux Tutorial Shows You Step-by-Step How-to Install Oracle-Sun Java OpenJDK JRE/JDK on Red-Hat-Enterprise-Linux/Oracle-Enterprise-Linux/CentOS/Scientific 6/7 32/64-bit Desktop/Server.

And the OpenJDK (Open Java Development Kit) is a free and Open Source implementation of the Java Platform, Standard Edition (Java SE).

Oracle Java JDK/JRE Installation is based on the OpenJDK source code. In Addition, it contains Closed-Source Components.

Java OpenJDK JRE/JDK 6/7/8 Installation on CentOS - Featured

How-to Install Oracle JDK on Linux Distros

  1. Open a Shell Terminal Emulator Window
    (Press “Enter” to Execute Commands)

    Java OpenJDK Quick-Start for CentOS - Open Terminal
  2. Installing Java OpenJDK

    • 10 OpenJDK JRE/JDK Installation

      10 OpenJDK JRE/JDK Installation

    • 8 OpenJDK JRE/JDK Installation

      • For JRE 8
        Minimal:

        sudo yum install java-1.8.0-openjdk-headless

        Complete:

        sudo yum install java-1.8.0-openjdk
      • For JDK 8
        sudo yum install java-1.8.0-openjdk-devel
    • 9 OpenJDK JRE/JDK Installation

      • For JRE 7
        Minimal:

        sudo yum install java-1.7.0-openjdk-headless

        Complete:

        sudo yum install java-1.7.0-openjdk
      • For JDK 7
        sudo yum install java-1.7.0-openjdk-devel

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,