LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-16-2006, 10:54 AM   #1
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 135

Rep: Reputation: 17
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
 
Old 01-16-2006, 11:04 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installation of rpm openoffice.org 2.0 beta problem Niceman2005 Linux - Software 7 03-18-2005 05:42 PM
OpenOffice.org aznboi12321 Linux - Software 2 03-05-2005 08:34 PM
OpenOffice.org big_syner Linux - Software 3 10-20-2004 01:52 AM
Openoffice.org 1.1 installation arun79 Linux - Software 1 01-14-2004 05:11 AM
OpenOffice.org Jafar Linux - Software 8 05-27-2003 10:47 AM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration