It has been suggested that the problem mentioned below may be fixed by adding two more steps: export LD_LIBRARY_PATH =$JAVA_HOME/jre/lib/i386/hotspot:$JAVA_HOME/jre/lib/i386/native_threads:$JAVA_HOME/jre/lib/i386 export LD_ASSUME_KERNEL=2.2.5 I have tried these steps as well, but I still can't compile due to the "can't find libjava.so" error. Is it possibly a problem due to the fact that the jdk is compiled for linux? I do have the linux compatibility package installed, but I have not tested it. Original message: 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. ----- Forwarded by Lance Hill/OLS on 28-05-01 01:52 PM ----- Lance Hill To: [EMAIL PROTECTED] 25-05-01 cc: 12:56 PM Subject: Install problems in FreeBSD 4.2 BTW, apologies if this has already been received, but I keep getting delivery failures.