-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* Moby <[EMAIL PROTECTED]> [10-18-07 19:24]:
> I had the same problem - eventually, after much googling and ogling, I
> found that /usr/sbin/update-alternatives is our friend - and if you do
> not have it, you can acquire it by installing the update-alternatives
> RPM.

and i'ts been around a while, present on my 10.1.  Here is a post from
16 Aug 05:

Date: Tue, 16 Aug 2005 16:14:28 +0200
From: Sonja Krause-Harder <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [opensuse] JAVA and OpenSuse
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm

On Tue, Aug 16, 2005 at 04:05:55PM +0200, Marcus Meissner wrote:
> This is already done, using /etc/alternatives/, perhaps someone
> knowledgeable can speak up (SONJA?!?)

No need to shout ;-)

A more comfortable solution to switch java environments if more than one
jvm package is installed is on my list of things that really should
still be done for 10.0.

There are two flavours:

- - switch java in the current environment: change $PATH so that the
  preferred java binary directories come first, and set JAVA_HOME and
  JRE_HOME accordingly
    
- - switch the default system java: adjust all the symlings with
  update-alternatives. The %post sections of the jvm packages roughly
  show what needs to be done for that, though it is a bit of a mess.
        
Sonja
- -- 
Sonja Krause-Harder ([EMAIL PROTECTED])
Research & Development                           SUSE Linux Products GmbH
        

with proper threading, attention to "Subject:" and little "off-topic"
(I know, dreaming), the list archives *should* be the first place to
look for these types of solutions rather than Joogle  :^)

btw: The original problem "wrong symlink ..." is incorrect.  The
symlink was correct; it is necessary to choose which java version to
use.  Updating one not in use accomplishes nothing but an update, the
same as installing another version.  It will not be automagically
used.  Onus is on the USER, not the system or application.


- -- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://counter.li.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn4472 (GNU/Linux)

iD8DBQFHF/LqClSjbQz1U5oRAn/KAJ97IA70jdqHh78HtBQntbCTOlHhpwCfY3Iu
I3KCYIxXl9/IQ3hSJo/qpE8=
=/I0U
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to