How to Install Oracle JDK 12 on Fedora 30 Gnu/Linux

April 22, 2019 | By the+gnu+linux+evangelist.

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

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

java --version

Contents


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