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

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

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

Install Oracle JDK 10 on Arch 64-bit GNU/Linux





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

After Installing you will need to Update your System Env Variables and PATH to make Arch Aware of the Java JDK10 Installation.

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

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

How to Install Oracle-Sun Java JDK 10 on Arch Linux - Featured
  1. Open a Command Line Terminal Window
    Kickoff and Search for “term”
    (Press “Enter” to Execute Commands)

    How to Install Oracle-Sun Java JDK 10 on Arch Linux - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Download Oracle Java SE JDK 10 Linux Release:

    Here Oracle JDK10 x64 tar.gz
    Link to Download Oracle-Sun Java JDK10 Release 64-bit
  3. Double-Click on the tar.gz Archive and Extract Into /tmp
    How to Install Oracle-Sun Java JDK 10 on Arch Linux - Extraction
    Or from Shell:

    Copy
    tar xvzf ~/Downloads/jdk-9*.tar.gz -C /tmp/
  4. Relocate JDK 10

    Copy
    su 

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

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

    Copy
    sudo chown -R root:root /tmp/jdk-10*

    Reiterate the Execution Permission over the Java binaries

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

    Finally, Shift the Java contents with

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

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

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

    Copy
    cd ..

    Release the potentially existing Symlinks:

    Copy
    unlink default
    Copy
    unlink default-runtime

    For the JDK make:

    Copy
    ln -s [copiedJdkPath] default

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

    Copy
    ln -s [copiedJdkPath] default-runtime

    With this you Should be Done!

  6. SetUp the Java JDK10 Environment Variables

    Get the Exact Path to Insert with:

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

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

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

    Ctrl+x to Save & Exit :)

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

    Copy
    java -version

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

  8. Getting-Started with Oracle Java JDK 10 Development

    Here Getting-Started Quickly with JDK 10
    Quick Start with Java JDK10 Development