Tuesday, April 28, 2009

setup tomcat under sparc linux

1. install gcc, g++, gcj, gij 4.1.2
../gcc-4.1.2/configure --prefix=/opt/gcc-4.1.2 --program-suffix=4.1.2 --host=sparc-redhat-linux --build=sparc-redhat-linux --target=sparc-redhat-linux

2. install java compat

3. export JAVA_HOME=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0

4. download apache-tomcat-5.5.27.tar.gz and apache-tomcat-5.5.27-compat.tar.gz

5. vi bin/setclasspath.sh
_RUNJAVA='/opt/gcc-4.1.2/bin/gij4.1.2'

6. ./startup.sh

No comments:

Post a Comment