OpenOffice.org doesn't recognize JRE installation
Good day
I've recently installed OpenOffice.org 2.0.1 (installed everything, except for other desktop-integrations packages) and JRE 5.0. Openoffice.org-javafilter is also installed. The problem is: I create a DB at OpenOffice.org Base. When I go to edit it, by clicking in "Tables", I receive a message saying that "OpenOffice.org requires a JRE installed in order to perform this task. Please install JRE and restart OpenOffice.org" followed by a "Unable to connect to database" message. Anyone knows how can I solve it? The distro is a Suse 10.0. Thanks |
A couple of ways to solve this.
1. Set a JAVA_HOME environment variable that points to the top level install directory and append $JAVA_HOME/bin to your PATH variable. ex. of JAVA_HOME: /usr/java/j2sdk1.4.2_10, /usr/java/j2jre1.4.2_10 ex. of PATH: $JAVA_HOME/bin:$PATH You can set this globally for all users in /etc/profile or you can set this for individual users in their ~/.bashrc file. Either way, you should probably log out of your user session and then log back in. 2. To manually add the jre path in openoffice. Go to Tools > Options. Choose the Java option and click the add button. Navigate and select your Java install path. ex. : /usr/java/j2sdk1.4.2_10/jre, /usr/java/j2re1.4.2_10 *Note, if you're using just the jre package make sure you use the right path as I don't use the jre package and I'm not totally sure if there's a bin directory for the PATH variable nor am I sure that /usr/java/j2re1.4.2_10 would be all that's necessary to set for #2. Also, #2 is only for the user that runs openoffice. |
All times are GMT -5. The time now is 12:49 PM. |