$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Oracle JDK 6 on CentOS 7 Gnu/Linux

August 24, 2018 | By the+gnu+linux+evangelist.

Oracle JDK 6 CentOS 7 Installation Guide

Hi! The Tutorial shows you Step-by-Step How to Install Oracle-Sun Java JDK 6 in CentOS 7 GNU+Linux Desktop.

And the Oracle Java JDK 6 for CentOS 7 includes Tools useful for developing and testing Programs written in the Java programming language and running on the Java platform.

After Installing you will need to Use the update-alternatives Command Tool to Update your System Java to Oracle Java 1.6 JDK6.

To the Article Bottom there is Links for Quick Start with Java JDK 6 Development with the Best Java IDEs: Eclipse, NetBeans & IntelliJ IDEA.

And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.

Install Oracle JDK 6 on CentOS 7 - Featured
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    How to Download and Install Oracle JDK 6 on CentOS 7 - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Download Oracle Java SE JDK 6 for Linux

    Oracle JDK6 x86/x8664 .bin
  3. Then Unpack the jdk6.bin Archive
    First, Access the Target:

    cd && cd Downloads

    Now to Check the Package is here:

    ls .

    Finally, to Extract the Binaries:

    cd && cd Downloads
    ./jdk1.6*.bin
  4. Follow to Relocate JDK 6

    sudo mv ./jdk1.6.* /usr/lib/jvm/jdk1.6

    And if Not jvm Dir then first do:

    mkdir /usr/lib/jvm

    Give you Admin Pass to Enable the “sudo” Command.

  5. Installing Oracle Java JDK6.

    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.*/bin/java 1065
    sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.*/bin/javac 1065
    sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.*/bin/jar 1065
    sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.*/bin/javaws 1065

    Checking or Setting the System Java Version in Use with

    sudo update-alternatives --config java

    And for the Java Compiler instead:

    sudo update-alternatives --config javac

    To Switch of Java Version Just Enter the Reference Number on First, Column. :)

  6. Getting-Started

    Getting-Started Quickly with JDK6
  7. How to Install Eclipse 2023-12 R Java JEE for CentOS:
    Setup Eclipse on CentOS.

    How to Install Netbeans 8 IDE for Java on CentOS: Installing NetBeans IDE for Java 8 on CentOS.

    How to Install IntelliJ IDEA 2024 for Java Dev on CentOS: Installing IntelliJ IDEA for Java 8 on CentOS.