You may need to look at 'alternatives' and see if Sun java is still set and set it again if it isn't.
If it still doesn't work after that try uninstalling OOo and reinstalling it.
If it doesn't work after that, well you may want to try the 32-bit versions to see if they work together.
Another good question, are you running the 32-bit or 64-bit version of OOo?
I believe the 32-bit OOo will only work with the 32-bit Java, not sure if that is true the other way around though.
Is there a reason the GNU Java won't work for your needs?
-Ross
----- Original Message ----- From: centos-bounces@centos.org centos-bounces@centos.org To: CentOS mailing list centos@centos.org Sent: Fri Mar 07 17:40:07 2008 Subject: RE: [CentOS] Problem getting JavaRuntime EnvironmentinstalledintoOpenOffice
Sure I'll give that a try. I thought I had the latest release, just downloaded it a few days ago - did they just come out with a new one?
If I install the latest, does the script un-install the previous version I just installed?
I'm also wondering if I got the correct JRE? I got the JRE from here: http://java.sun.com/javase/downloads/index.jsp
You can have multiple JREs installed, but since this one ain't working 100% may as well uninstall it manually with yum remove '*jre*'
If you aren't doing Java development or hosting a JSP server there is no real need to have the JDK either.
OK, I ran the un install (do not have JDK installed), un install apparently went fine, then I downloaded the jre-6u5-linux-x64-rpm.bin from http://java.sun.com/javase/downloads/index.jsp, Followed these instructions: http://java.sun.com/javase/6/webnotes/install/jre/install-linux.html#install then installed it.
Ran a ls -l /usr/java, below is output:
total 16 lrwxrwxrwx 1 root root 16 Mar 7 17:28 default -> /usr/java/latest drwxr-xr-x 5 root root 4096 Mar 7 17:28 jre1.6.0_05 lrwxrwxrwx 1 root root 21 Mar 7 17:28 latest -> /usr/java/jre1.6.0_05
Ran java -version, output is:
java version "1.6.0_05" Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
Tried to find it in the OO Calc Tools>Options dialog box, only Free Software Foundation v 1.4.2
Maybe I'm not using Tools>Options correctly? _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx____________________________________... CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
______________________________________________________________________ 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.