Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by Anonymous (not registered) on Thu, 2009-01-29 10:29.

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))

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.