RE: Problem getting Java Runtime Environment installed intoOpenOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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]#






_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux