Java/setDefaultJava
From openSUSE
< Java
Contents |
[edit]
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!
[edit]
Setting JRE
For setting the default JRE, call -- as root -- the following command:
update-alternatives --config java
[edit]
Setting JDK
For setting the default JDK, call -- as root -- the following command:
update-alternatives --config javac
[edit]
Restrictions
Right now, there is no replacement for setJava ... the described commands set the JRE / JDK system wide.

