This is the mail archive of the rhdb@sources.redhat.com mailing list for the RHDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Java Problems


John,

The Control Center tool will be running as root (under PAM, of course) so your 'root' user must have the JAVA_HOME variable set (and to its PATH as well). Some JVMs set that when they are installed (IBM's used to) other don't (like Sun's).

We have been talking of ways to make our tools smarter in locating Java JVMs by looking at usual places for the most common JVM providers, but there are issues like what to do if there are more than one etc. Eventually Java will be added to the 'alternatives' configuration and all these problems will go away.

In the meanwhile, set your root users JAVA_HOME and PATH and you should be able to start rhdb-cc.

Regards,
Fernando

John Allgood wrote:


-----Original Message-----
From: rhdb-owner@sources.redhat.com [mailto:rhdb-owner@sources.redhat.com]
On Behalf Of Fernando Nasser
Sent: Tuesday, January 20, 2004 1:46 PM
To: David Jee
Cc: John Allgood; rhdb@sources.redhat.com
Subject: Re: Java Problems

rhdb-cc requires the 'postgres' user password (it should accept the root password as well).

You must 'su -' to become root and then assign a password to the postgres
user with 'passwd postgres'.


I tried that still reports unable to find java executable. I already checked
permission

When I run which java it gives me
/usr/java/j2re1.4.1_06/bin/java






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]