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

June 3rd, 2015 by thelinuxevangelist

Java OpenJDK QuickStart for CentOS Linux



The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with Oracle-Sun Java OpenJDK JRE/JDK 7/8 on Red-Hat-Enterprise-Linux/Oracle-Enterprise-Linux/CentOS 6/7 i686/x8664 Desktop/Server.

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

Oracle JDK is based on the OpenJDK source code. In Addition, it contains Closed-Source Components. The final result is licensed under a Binary Code License.

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 QuickStart for CentOS - Open Terminal

    • Installing OpenJDK 8 JRE/JDK

      • 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
    • Installing OpenJDK 7 JRE/JDK

      • 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
Share on Tumblr

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


Comments are disabled