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: rhdb-explain rhdb-admin "Unable to find a java executable"


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



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