File README.SUSE of Package jpackage-utils
== setJava & setDefaultJava ==
Note that due to the switch to jpackge, commands like setJava and setDefaultJava
are not available anymore. Instead, we use the update-alternative system now!
For setting the default JRE, call -- as root -- the following command:
update-alternatives --config java
For setting the default JDK, call -- as root -- the following command:
update-alternatives --config javac
Right now, there is no replacement for setJava ...
the described commands set the JRE / JDK system wide.