Re: [opensuse] Java install ?
- From: Michal Vyskocil <mvyskocil@xxxxxxx>
- Date: Mon, 27 Apr 2009 09:56:45 +0200
On Friday 24 of April 2009 11:05:07 David C. Rankin wrote:
Erik Jakobsen wrote:
I use Firefox
What does the follow show when pasted into the command line? (need not be
/usr/sbin/update-alternatives --display java
If you have more than one version, then for setting the default JRE, call
(-- as root --) the following command:
update-alternatives --config java
The output will show you what you have and allow you to configure the
default. You will see something like this:
[03:13 alchemy:/usr/lib64/jvm] # update-alternatives --config java
There are 3 alternatives which provide `java'.
*+ 3 /usr/lib64/jvm/jre-1.6.0-openjdk/bin/java
Press enter to keep the default[*], or type selection number:
Also, do *not* forget the java plugin! The default Java plugin is called
javaplugin (for Sun's Java) and a libjavaplugin.so.[arch] for
icedtea7/openjdk6. For a change of default plugin, you should type:
update-alternatives --config libjavaplugin.so.x86_64
JFI: Names of Java alternatives was unified, so openjdk now uses javaplugin as
@David: is you don't want to use opendjdk, just uninstall it. openjdk has a
biggest priority in alternatives system, that's why it's selected by default.
After that you can type update-alternatives --auto to restore an automatic
behavior of the alternatives system.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Prev by Date: [opensuse] Screen blanking/locking and 11.1
- Next by Date: Re: [opensuse] Recent experience with Ubuntu 9.04, Gnome on openSUSE 11.1, and KDE 4.2.
- Previous by thread: Re: [opensuse] Java install ?
- Next by thread: Re: [opensuse] Java install ?