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

Step-by-step – How to Install Oracle JDK 6 on Ubuntu 20.04

May 19, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 3. Extracting Oracle JDK 6

    Then Unpack the jdk6.bin Archive
    To make the Commands shorter Login as SuperUser with:

    sudo su

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    cd && cd Downloads

    To Check it’s there List the contents with:

    ls . | grep jdk

    The grep Command refine the output List showing only the Entries matching the Keyword.
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
    Now to extract it run:

    ./jdk1.6*.bin
  2. 4. Installing Oracle JDK 6

    So to Relocate JDK 6
    Play:

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

    And if Not jvm Dir then first do:

    mkdir /usr/lib/jvm

    Now to Achieve the Setup use the update-alternatives Tool like:

    update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.*/bin/java 1065
    update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.*/bin/javac 1065
    update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.*/bin/jar 1065
    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

    update-alternatives --config java

    And for the Java Compiler instead:

    update-alternatives --config javac

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

    Last, to Exit the SuperUser Login:

    exit
  3. 5. Oracle JDK 6 Getting Started

    How to Getting-Started with Java 6

    Getting-Started Quickly with JDK6

How to Install Eclipse 2023-12 R Java JEE for Ubuntu:
Setup Eclipse on Ubuntu.

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

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

Contents