RE: [opensuse] JAVA and OpenSuse
Good Idea, I agree -----Original Message----- From: Michal Hlavac [mailto:michal.hlavac@dactos.com] Sent: Tuesday, August 16, 2005 8:00 AM To: opensuse@opensuse.org Subject: Re: [opensuse] JAVA and OpenSuse Schwartz, Matthew (GE Healthcare) wrote:
I guess you will have to write a bash script to change your path if you need to run more than 1 jre
yes... I did it... but for example I don't understand meaning of all symbolic links in /etc/alternatives My suggestions are: 1. implement some switch JVMs script into distro or 2. write some documentation which symbolic links are necessary to change. Some "How To". thanks, miso --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
On Tue, Aug 16, 2005 at 07:58:55AM -0500, Schwartz, Matthew (GE Healthcare) wrote:
Good Idea, I agree
-----Original Message----- From: Michal Hlavac [mailto:michal.hlavac@dactos.com] Sent: Tuesday, August 16, 2005 8:00 AM To: opensuse@opensuse.org Subject: Re: [opensuse] JAVA and OpenSuse
Schwartz, Matthew (GE Healthcare) wrote:
I guess you will have to write a bash script to change your path if you need to run more than 1 jre
yes... I did it... but for example I don't understand meaning of all symbolic links in /etc/alternatives
My suggestions are: 1. implement some switch JVMs script into distro or 2. write some documentation which symbolic links are necessary to change. Some "How To".
This is already done, using /etc/alternatives/, perhaps someone knowledgeable can speak up (SONJA?!?) Ciao, Marcus
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 (skh@suse.de) Research & Development SUSE Linux Products GmbH
participants (3)
-
Marcus Meissner
-
Schwartz, Matthew (GE Healthcare)
-
Sonja Krause-Harder