Hello, The CLASSPATH in a UNIX-based system is an environment variable that stores the list of directories that the operating system looks in to find library classes and modules. You have many possibilities to troubleshoot your configuration: 1. use the -classpath option on command line, 2. export the CLASSPATH environment variable in your .bash_profile and set it to $JAVA_HOME/lib for example, 3. use the LD_LIBRARY_PATH for dynamically linked programs, it stores the path of libraries u may call during execution (see ldd command). Export the LD_LIBRARY_PATH to the path of libraries you may need, or add the path to your /etc/ld.so.conf and make sure you used ldconfig to refresh your cache database.. Hope this help, --Narjess. --- Ivo Tijhaar <shrike-list@xxxxxxxxxxx> a écrit : > Javac is installed and working. the documentations > says that i have to set > the LD_LIBRARY_PATH but how do i set this and what > is the path for the > required libaries? > > > Date: Sat, 18 Jun 2005 13:59:46 +0200 (CEST) > > From: narjes richkine <nrichkine@xxxxxxxx> > > Subject: RE: building db4-4.1.25-8.1 > > To: "Discussion of Red Hat Linux 9 \(Shrike\)" > > <shrike-list@xxxxxxxxxx> > > Message-ID: > <20050618115946.22869.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx> > > Content-Type: text/plain; charset=iso-8859-1 > > > > Hi, > > This means that your java environment is not > correctly > > installed. You have to add the binary (javac, ...) > on > > your PATH environment variable or update the > CLASSPATH > > variable. Any way, you can also modify your > configure > > file to make it point to the correct path you are > > using .. See the documentation on how to install > and > > run your java environment for further precisions. > > Hope this help; > > --Narjess. > > --- Ivo Tijhaar <shrike-list@xxxxxxxxxxx> a écrit > : > > > >> I'm trying to rebuild db4 from source package but > >> the building process > >> stops every time with this error: > >> > >> checking if javac works... configure: error: The > >> Java compiler javac failed > >> (see config.log, check the CLASSPATH?) > >> error: Bad exit status from > /var/tmp/rpm-tmp.85250 > >> (%build) > >> > >> I didn't find any answers on google. any ideas > > -- > >> Shrike-list mailing list > >> Shrike-list@xxxxxxxxxx > >> > https://www.redhat.com/mailman/listinfo/shrike-list > > -- > Shrike-list mailing list > Shrike-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/shrike-list > ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list