Oracle JDK 11 CentOS 7 Linux Installation Guide

October 15, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Oracle JDK 11 CentOS 7 Linux Installation - Switch

  1. 4. Switching to Java 11

    Now 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

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