public inbox for rhdb@sourceware.org
 help / color / mirror / Atom feed
* rhdb-explain, rhdb-admin, rhdb-cc "Unable to find a java executab le" - FOR INFORMATION ONLY, NO NEED FOR REPLIES
@ 2004-03-25 17:24 James Beale
  0 siblings, 0 replies; only message in thread
From: James Beale @ 2004-03-25 17:24 UTC (permalink / raw)
  To: 'rhdb@sources.redhat.com'

With my sincere thanks to Fernando Nasser and Kim Ho, without whom I'd be
floundering still, I post here the information I used to get things running
when I got errors "Unable to find a java executable" error running
rhdb-explain, rhdb-admin, and rhdb-admin.

No reply is needed, this is just for information for anyone else looking for
this information whilst searching the archives.

Note that this solution was deployed on RH9 using Sun Java j2re1.4.2.  If
you use a different Java this will probably not work.  Each Java places
things in different places.

I hope this is of use to someone else, and, again, thanks Fernando and Kim.

Extract:
James Beale wrote:
> Hi again
> 
> Thanks very much for the pointers.  I've added all the info thus:
> 
> 1 - Edit /<userhomedirectory>/.bash_profile, and ensure it reads:
>  JAVA_HOME=/usr/java/j2re1.4.2_04
>  PATH=$JAVA_HOME/bin:$PATH:$HOME/bin
>  BASH_ENV=$HOME/.bashrc
>  USERNAME="root"
>  export USERNAME BASH_ENV PATH
>  CLASSPATH=/usr/share/java/rh-postgresql3.jar
>  export CLASSPATH
> 
> 2 - Edit the file /usr/share/rhdb-cc/rhdb-cc.sh file, adding the line if
> needed.
>  JAVA_HOME=/usr/java/j2re1.4.2_04
> 


==============================================
James M Beale MBCS CITP
Lud Castle (Computing) Ltd
Tel: +44 (0)1382 736031
Fax: +44 (0)8700 518 232
mailto:jamesb@ludcastle.co.uk
http://www.ludcastle.demon.co.uk

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-25 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 17:24 rhdb-explain, rhdb-admin, rhdb-cc "Unable to find a java executab le" - FOR INFORMATION ONLY, NO NEED FOR REPLIES James Beale

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).