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

Oracle JDK 11 Ubuntu 18.10 Installation

October 14, 2018 | By the+gnu+linux+evangelist.

Oracle JDK 11 Ubuntu 18.10 Installation - Setting Up

  1. 4. Setting Up Oracle JDK 11

    Now to Install JDK 11 into System

    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-11/bin/java 1065
    sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-11/bin/javac 1065
    sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-11/bin/jar 1065
  2. 5. Switching to Java 11

    Finally, to Switch Java to JDK 11
    This is Valid only if you have to Manage more than One Java Releases:

    sudo update-alternatives --config java

And for the Java Compiler instead:

sudo update-alternatives --config javac

Choose the Number entry corresponding to Oracle JDK 11.
Test your Java 11 Installation:

java --version

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,