Add new comment
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
|
I found the following for installing a sample program: alternatives --install /etc/alternatives/editor myeditor /usr/bin/kwrite 90 So for the above it would be something like: alternatives --install /etc/alternatives/java java usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java 10 alternatives --install /etc/alternatives/javaws javaws usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/javaws 10 Then use the alternatives command to specify the new packages as the default. (I really wish the packagers would automatically tell alternatives about the new java, most of the major distributions currently use it (alternatives))
Reply |





Recent comments
9 hours 43 min ago
15 hours 31 min ago
17 hours 23 min ago
19 hours 8 min ago
22 hours 58 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 9 hours ago
1 day 14 hours ago
1 day 20 hours ago