Java/setDefaultJava
< Java
setDefaultJava / setJava replacements
SUSE switched Java packaging to JPackage style, which is why commands like setJava and setDefaultJava are not available anymore.
Instead, we use the update-alternative system now!
Setting JRE
For setting the default JRE, call -- as root -- the following command:
update-alternatives --config java
Setting JDK
For setting the default JDK, call -- as root -- the following command:
update-alternatives --config javac
Restrictions
Right now, there is no replacement for setJava ... the described commands set the JRE / JDK system wide.