public inbox for rhdb@sourceware.org
 help / color / mirror / Atom feed
* Re: rhdb-explain rhdb-admin "Unable to find a java executable"
       [not found] <02FA758810D1D711943E0003470A8B918F0D@LCCNTSERVER1>
@ 2004-03-19 21:36 ` Fernando Nasser
  0 siblings, 0 replies; 3+ messages in thread
From: Fernando Nasser @ 2004-03-19 21:36 UTC (permalink / raw)
  To: James Beale, rhdb

James Beale wrote:
> 
> However, rhdb-admin stops with the following error message:
> Class load error
> An error occured while attempting to load the required JDBC classes.
> Please ensure that all of the postgresql JDBC classes (including
> org.postgresql.jdbc3.*) exist in your class path and are being seen by the
> Java Virtual Machine.
> Administrator cannot run until this is fixed.
> 

This one is easy.  Look for your postgresql.jar file, which is the JDBC Driver 
that is not being found.

Maybe you are not using the one from the rh-postgresql-java rpm, or have more 
than one in your CLASPATH, or it is in a different location than expected (I 
remember there was a change of location due to Linux Filesystem Standardization 
not long ago).

Assuming it is in /usr/share/java you can try the following:


export CLASSPATH=/usr/share/java/postgresql.jar

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rhdb-explain rhdb-admin "Unable to find a java executable"
  2004-03-18 23:08 James Beale
@ 2004-03-19 14:46 ` Fernando Nasser
  0 siblings, 0 replies; 3+ messages in thread
From: Fernando Nasser @ 2004-03-19 14:46 UTC (permalink / raw)
  To: James Beale; +Cc: 'rhdb@sources.redhat.com'

Hi James,

it is March break around here and the person who would know the answer 
in a snap is not here until Monday.  But let me try.

What exactly did you do to get rhdb-cc to run?  This can give me a hint 
on what you could do for the other two.

Regards,
Fernando



James Beale wrote:
> Hi
> 
> I've nosed around the lists, and discovered what to do to get rhdb-cc
> working OK, but I don't see where to resolve the rhdb-explain and rhdb-admin
> "Unable to find a java executable" messages.
> 
> I don't have any .sh for rhdb-explain or rhdb-admin.  j2re-1.4.2_04-fcs is
> installed, and I'm using RedHat 9.
> 
> Help would be most gratefully recived!
> 
> Thanks
> 
> James Beale
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* rhdb-explain rhdb-admin "Unable to find a java executable"
@ 2004-03-18 23:08 James Beale
  2004-03-19 14:46 ` Fernando Nasser
  0 siblings, 1 reply; 3+ messages in thread
From: James Beale @ 2004-03-18 23:08 UTC (permalink / raw)
  To: 'rhdb@sources.redhat.com'

Hi

I've nosed around the lists, and discovered what to do to get rhdb-cc
working OK, but I don't see where to resolve the rhdb-explain and rhdb-admin
"Unable to find a java executable" messages.

I don't have any .sh for rhdb-explain or rhdb-admin.  j2re-1.4.2_04-fcs is
installed, and I'm using RedHat 9.

Help would be most gratefully recived!

Thanks

James Beale

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-19 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <02FA758810D1D711943E0003470A8B918F0D@LCCNTSERVER1>
2004-03-19 21:36 ` rhdb-explain rhdb-admin "Unable to find a java executable" Fernando Nasser
2004-03-18 23:08 James Beale
2004-03-19 14:46 ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).