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

How to Install Oracle-Sun Java JDK 10 on Manjaro Easy Guide

April 21, 2018 | By the+gnu+linux+evangelist.

Oracle JDK 10 Manjaro - Setting Up

  1. Relocate JDK 10

    su 

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

    chmod +x /tmp/jdk-10*/bin/*
    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-10*

    Reiterate the Execution Permission over the Java binaries

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

    Finally, Shift the Java contents with

    mv /tmp/jdk-10* /usr/lib/jvm/
  2. Follow to Setup Needed Symlinks
    First, Copy the Exact Path to Insert in:

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

    Select & Ctrl+Shift+c to Copy the Path :)

    cd ..

    Release the potentially existing Symlinks:

    unlink default
    unlink default-runtime

    For the JDK make:

    ln -s [copiedJdkPath] default

    Ctrl+Shift+v to Paste the Path.
    And for JRE:

    ln -s [copiedJdkPath] default-runtime

    With this you Should be Done!

  3. SetUp the Java JDK10 Environment Variables

    Get the Exact Path to Insert with:

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

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

    nano /etc/profile.d/oracleJDK10.sh
    /nexport J2SDKDIR=[copiedJdkPath]/nexport J2REDIR=$J2SDKDIR/jre/nexport JAVA_HOME=$J2SDKDIR/
    

    Ctrl+x to Save & Exit :)

    nano /etc/profile.d/oracleJDK10.csh
    setenv J2SDKDIR=[copiedJdkPath]
    setenv J2REDIR=$J2SDKDIR/jre
    setenv JAVA_HOME=$J2SDKDIR/
    
  4. Finally, Test Oracle JDK 10 Java Installation.

    java -version

    On the Output simply must Not be present an Openjdk to Certify it…