How to Install Oracle JDK 12 on openSUSE GNU/Linux

April 15, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Oracle JDK 12 OpenSUSE - Switching System Java

  1. 4. Switching to Java 12

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

    sudo update-alternatives --config java

    Choose the Number entry corresponding to Oracle JDK 12!
    And for the Java Compiler instead:

    sudo update-alternatives --config javac

    Test your Java 12 Installation:

    java --version

Contents


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