Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-16-2006, 11:54 AM   #1
Registered: Mar 2005
Posts: 138

Rep: Reputation: 17 doesn't recognize JRE installation

Good day

I've recently installed 2.0.1 (installed everything, except for other desktop-integrations packages) and JRE 5.0. is also installed.
The problem is: I create a DB at Base. When I go to edit it, by clicking in "Tables", I receive a message saying that " requires a JRE installed in order to perform this task. Please install JRE and restart" followed by a "Unable to connect to database" message.

Anyone knows how can I solve it?
The distro is a Suse 10.0.

Old 01-16-2006, 12:04 PM   #2
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.


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 2.0 beta problem Niceman2005 Linux - Software 7 03-18-2005 06:42 PM aznboi12321 Linux - Software 2 03-05-2005 09:34 PM big_syner Linux - Software 3 10-20-2004 02:52 AM 1.1 installation arun79 Linux - Software 1 01-14-2004 06:11 AM Jafar Linux - Software 8 05-27-2003 11:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:35 AM.

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