Oracle JDK 11 CentOS 7 Linux Installation - Switch
-
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
$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }
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