Mailinglist Archive: opensuse (2008 mails)
| < Previous | Next > |
Re: [opensuse] Java install ?
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Apr 2009 04:05:07 -0500
- Message-id: <49F180C3.2000706@xxxxxxxxxxxxxxxxxx>
Erik Jakobsen wrote:
Erik,
What does the follow show when pasted into the command line? (need not
be root):
/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'.
Selection Alternative
-----------------------------------------------
1 /usr/lib64/jvm/jre-1.6.0-sun/bin/java
2 /usr/lib64/jvm/jre-1.5.0-gcj/bin/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
or for Sun's
update-alternatives --config javaplugin
For some sites, I have only been able to get openjdk to work. Other's
suns
javaplugin works.
If you need more info, see man update-alternatives (then you can get
really
confused ;-)
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
<snip>
I use Firefox
Erik
Erik,
What does the follow show when pasted into the command line? (need not
be root):
/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'.
Selection Alternative
-----------------------------------------------
1 /usr/lib64/jvm/jre-1.6.0-sun/bin/java
2 /usr/lib64/jvm/jre-1.5.0-gcj/bin/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
or for Sun's
update-alternatives --config javaplugin
For some sites, I have only been able to get openjdk to work. Other's
suns
javaplugin works.
If you need more info, see man update-alternatives (then you can get
really
confused ;-)
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |