Re: [opensuse] Change 11.0 from SunJava 1.6 to IBMJava 1.6
- From: Michal Vyskocil <mvyskocil@xxxxxxx>
- Date: Thu, 31 Jul 2008 15:56:44 +0200
On Wednesday 30 July 2008 21:24:07 Ed Harrison wrote:
Sunny wrote:<ed.harrison@xxxxxxxxxxx> wrote:
On Wed, Jul 30, 2008 at 7:56 AM, Ed Harrison
I have always preferred IBM java to Sun's. When I look in
/usr/lib/jvm, I see all these symlinks within the directory and
also to /etc/alternatives.
How can I make IBM java the default for all these?
Ed
#> /usr/sbin/update-alternatives java
Well, that didn't go very well. I found it easier to go to
/etc/alternatives and manually change jre, java, javaws and
javaplugin.
I did this after doing man update-alternatives, and taking 2 aspirin.
It's fixed, so I want be calling again in the morning.
Thanks for the pointer. I can tell update-alternatives is powerful,
but I found manual changes much easier than trying to understand it
all. I just hope something doesn't automatically change it all back
later.
Ed
Hi,
don't be afraid. The update-alternatives --config switch the symlink
status to the manual (see the output of the
update-alternatives --display java). The default status is auto and
it's driven by priorities - the openjdk6 has a highest one, sun has
lower and IBM the lowest. In the manual state the update-alternatives
will never change the symlink (unless you use --config, --set options).
Some usefull informations about update-alternatives are in
http://en.opensuse.org/Java/setDefaultJava
Regards
Michal Vyskocil
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Change 11.0 from SunJava 1.6 to IBMJava 1.6
- From: Ed Harrison
- Re: [opensuse] Change 11.0 from SunJava 1.6 to IBMJava 1.6
- From: Sunny
- [opensuse] Change 11.0 from SunJava 1.6 to IBMJava 1.6
- Prev by Date: Re: [opensuse] MB & ethernet port
- Next by Date: Re: [opensuse] help! How did EDITOR=/usr/bin/joe get set and how do I get vi back -- permanently?
- Previous by thread: Re: [opensuse] Change 11.0 from SunJava 1.6 to IBMJava 1.6
- Next by thread: [opensuse] openSUSE 11.0 kernel bug?
- Index(es):
Relevant Pages
|