Therese Trudeau wrote:
Look at the thread from today about Firefox and Java plugin.
In particular the posts concerning the use of 'alternatives'
Hi, Thanks Ross,
OK I ran your commands:
# Remove Sun added links rm -f /usr/bin/javaws rm -f /usr/bin/jcontrol
# Add Sun Java to alternatives alternatives --install /usr/bin/java java /usr/java/default/bin/java 1000 --slave /usr/lib/jvm/jre jre /usr/java/default --slave /usr/bin/javaws javaws /usr/java/default/bin/javaws --slave /usr/bin/jcontrol jcontrol /usr/java/default/bin/jcontrol --slave /usr/bin/rmiregistry rmiregistry /usr/java/default/bin/rmiregistry
# Set Sun Java as the preferred Java environment alternatives --set java /usr/java/default/bin/java
And then I rebooted, started up OpenOffice Calc again, and i'm still not finding the new JRE. And the Free Software Foundation is still showing, don't know if that matters though.
Were your commands intended to get OpenOffice to automatically have the JRE show up in the dialog box? Or do I still need to hunt for it somewhere?
[root@localhost bin]# /usr/sbin/alternatives --display java java - status is manual. link currently points to /usr/java/default/bin/java /usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420 slave javaws: (null) slave jcontrol: (null) slave keytool: /usr/lib/jvm/jre-1.4.2-gcj/bin/keytool slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj slave jre: /usr/lib/jvm/jre-1.4.2-gcj /usr/java/default/bin/java - priority 1000 slave javaws: /usr/java/default/bin/javaws slave jcontrol: /usr/java/default/bin/jcontrol slave keytool: (null) slave rmiregistry: /usr/java/default/bin/rmiregistry slave jre_exports: (null) slave jre: /usr/java/default Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java. [root@localhost bin]#
What's the output of:
# ls -l /usr/java
Lets see if it is installed and where it is installed, maybe it's installing in /opt now.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.