Oracle JDK 11 Deepin Linux Installation - Switch
-
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
$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