Step-by-step – Oracle JDK 11 Installation in Ubuntu 20.04 Guide

August 16, 2020 | By the+gnu+linux+evangelist.

Switch

  1. 5. 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: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress