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

How to Install Oracle-Sun Java JDK 9 on Manjaro 64-bit Easy Guide

May 11, 2017 | By the+gnu+linux+evangelist.

Install Oracle JDK 9 on Manjaro 64-bit GNU/Linux





Hello Manjaro User! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Oracle-Sun Official Java SE JDK 9 64-bit on Manjaro x8664 GNU/Linux Desktop.

Especially Relevant: the Oracle JDK 9 Manjaro Setup require the Manual Update of System Env Variables and PATH.

To the Article Bottom there is a Link for Quick Start with Java JDK 9 Development on Manjaro.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Follow.

Install Oracle JDK 9 on Manjaro 64-bit Linux - Featured
  1. Download Oracle Java SE JDK 9 Linux Release:

    Oracle JDK9 x64 tar.gz
  2. Double-Click on the tar.gz Archive and Extract Into /tmp
    Install Oracle JDK 9 on Manjaro 64-bit Linux - Extraction

  3. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install Oracle JDK 9 on Manjaro 64-bit Linux - Open Terminal

    In case first see: Terminal QuickStart Guide.

  4. Relocate JDK 9

    su 

    If Got “User is Not in Sudoers file” then Look:
    Solution

    if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi

    The above Command is used to Create a jvm Directory if not already there.
    And Set the SuperUser as owner:

    sudo chown -R root:root /tmp/jdk-9*

    Reiterate the Execution Permission over the Java binaries

    chmod -R +x /tmp/jdk-9*/bin

    Finally, Shift the Java contents with

    mv /tmp/jdk-9* /usr/lib/jvm/
  5. SetUp the Java JDK9 Environment Variables

    Get the Exact Path to Insert with:

    cd /usr/lib/jvm/jdk-9*
    pwd

    Copy (Select & Ctrl+Shift+c) the Path to Paste (Ctrl+Shift+v) into the Config File:

    nano /etc/profile.d/oracleJDK9.sh
    /nexport J2SDKDIR=/usr/lib/jvm/jdk-9[*]/nexport J2REDIR=$J2SDKDIR/jre/nexport JAVA_HOME=$J2SDKDIR/
    

    Ctrl+x to Save & Exit :)

    nano /etc/profile.d/oracleJDK9.csh
    setenv J2SDKDIR=/usr/lib/jvm/jdk-9[*]
    setenv J2REDIR=$J2SDKDIR/jre
    setenv JAVA_HOME=$J2SDKDIR/
    

    If a Different Release is acquired then modify the Path [*] accordingly…

  6. Setting Up the Java Path.

    cd /usr/lib/jvm

    To Remove Possibly Existing Symlinks to JDK:

    unlink default
    unlink default-runtime

    Make the New Ones:

    ln -s jdk-9[*] default
    ln -s jdk-9[*] default-runtime

    Modify the jdk-9[*] with the before Copied Path…

  7. Getting-Started with Oracle Java JDK 9 Development

    Getting-Started Quickly with JDK 9