That's a jdk configuration problem, not a tomcat problem.
If you can successfully get run a simple command like:
java -version
then you can move on to the tomcat-related stuff.
I've never gotten jdk 1.3 to work in BSD,
but you should make sure that the following files exist:
/usr/bin/expr
/usr/bin/dirname
/usr/bin/cut
/usr/bin/head
If they exist somewhere else (eg. /bin/cut ) then copy them to the expected
location (or link them)
Hope this helps!
-Mike Jennings
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 2:33 PM
Subject: Install problems in FreeBSD 4.2
>
> Hi,
>
> I recently downloaded and installed jdk1.3.0_02 on a FreeBSD system. I
> followed the instructions included with the jakarta-tomcat README which
> indicated that I needed to set an environment variable of
> JAVA_HOME=/usr/local/jdk1.3.0_02 and add $JAVA_HOME/bin to the PATH. The
> instructions indicate that I should set the CLASSPATH if needed, but I do
> not know if it is needed, or what it should be set to. When I try to run
> ./bootstrap.sh for jakarta-ant (install instructions for tomcat say it is
> next step in setup of tomcat) I get:
>
> /usr/local/jdk1.3.0_02/bin/java: /usr/bin/expr: not found
> Error: can't find libjava.so.
>
> The same messages pops up if I try to run ./build.sh for tomcat without
> first installing ant.
>
> The jdk was installed from j2sdk-1_3_1-linux-i386.bin.
>
> How do I get past this error message to the next error message?
>
> I have been unable to find documentation for setting this up in FreeBSD,
so
> if someone can point me in the direction of some, I would greatly
> appreciate it.
>
> Thanks.
>
>