Switching System Java
-
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
$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }
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