-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Jake Conk
I just did a 'zypper update' and now apparently all my links to my java stuff are broken, specifically all the java links in '/etc/alternatives/java*'... Is there a program I am supposed to run to fix the broken links when installing new java software or something?
quote from earlier the 18th on this list:
Date: Thu, 18 Oct 2007 19:57:31 -0400
From: Patrick Shanahan
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
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-Hardedr (skh@suse.de) 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 same applies - -- 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) iD8DBQFHGJSKClSjbQz1U5oRAvXFAJ0fmGSRaWKbGiJCZVY54FlbeDAILwCdGJ/C JIrDQ7ACRT+bwdQHuoyKBm4= =xKAC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org