Hi, Kristian

Thanks for your help,

>>(a) You don't have a JDK installed but just a JRE which
[CODE]
[EMAIL PROTECTED] apache-tomcat-5.5.23> ls -a ..
.   apache-tomcat-5.5.23         jdk1.5.0_12                  jre1.5.0_12
..  apache-tomcat-5.5.23.tar.gz  jdk-1_5_0_12-linux-i586.bin
jre-1_5_0_12-linux-i586.bin
[EMAIL PROTECTED] apache-tomcat-5.5.23> rpm -qa | grep jdk
[EMAIL PROTECTED] apache-tomcat-5.5.23> rpm -qa | grep jre
[EMAIL PROTECTED] apache-tomcat-5.5.23>
[/CODE]
It seems that I've not install jdk&jre, but actually I just installed them
by their manual (such as http://java.sun.com/j2se/1.5.0/install-linux.html).


>> which java
>> which javac
[CODE]
[EMAIL PROTECTED] apache-tomcat-5.5.23> which java
/usr/bin/which: no java in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/
bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin:/var/www/tomcat/bin:/usr/X1
1R6/bin:/root/bin)
[EMAIL PROTECTED] apache-tomcat-5.5.23> which javac
/usr/bin/which: no javac in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/
bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin:/var/www/tomcat/bin:/usr/X1
1R6/bin:/root/bin)
[/CODE]

It really seems that I've not successfully installed them, but how can I?

Thanks and regards,


-----Original Message-----
From: Kristian Rink [mailto:[EMAIL PROTECTED] 
Sent: 2007?8?3? 16:30
To: users@tomcat.apache.org
Subject: Re: Apache Tomcat 5.5 install issues.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

William;


["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007
16:19:17 +0800]

> *** Host support ***
> checking C flags dependant on host system type... ok
> *** Java compilation tools ***
> checking for javac... NONE
> checking for javac... NONE
> configure: error: javac not found

There could be two things causing this issue:

(a) You don't have a JDK installed but just a JRE which, well, just
provides the features required to run Java application but actually
lacks everything required to build Java apps from source. Solution
would be to install an up-to-date JDK.

(b) you don't have your PATH set up so your shell can't find javac.
To set this right, best is putting something like this to your shell
configuration file:

export JAVA_HOME=/path/to/your/jdk
export PATH=$JAVA_HOME/bin:$PATH

(assuming a bash-like shell).


By the way you can check pretty well how things are by trying to
manually entering "java" or "javac" in your terminal, or by using

which java
which javac

to locate where these friends are. Maybe, however, you'll be better /
quicker off installing a pre-built tomcat binary. :)

Cheers,
Kristian

- -- 
Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/
jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGsueWcxBAPOA1m6wRAjF9AJ92sDDUMX4+rLplBn7GNtxvS2j2JQCdE4yk
Psy9OUqGng9xy3pXOdKFaVM=
=woaR
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to