Anybody build tomcat 5 from source successfully with jdk1.5

這個版面主要討論 debian 在 server 端的應用問題, server 種類繁多..舉凡 Web Server 、 File Server、 DHCP Server..等等。

版主: 阿信

Anybody build tomcat 5 from source successfully with jdk1.5

文章hantsy » 週一 4月 26, 2004 8:35 pm

I tried to build tomcat5 from source with jdk 1.5 on debian sid...I failed...
I get the following error message:
==============================
build-main:
[echo] ----- Java-utils -----
[echo] -- puretls.present = ${puretls.present}
[echo] -- jsse.present = true /usr/share/java/jsse-1.0.3/lib/jsse.jar
[echo] -- commons-logging = true
[echo] -- jmx = true /usr/share/java/mx4j-1.1.1/lib/mx4j-jmx.jar
[echo] -- modeler = true /usr/share/java/commons-modeler-1.1/commons-modeler.jar
[echo] -- JDK14 = true
[javac] Compiling 63 source files to /home/hantsy/tomcat-5-src/jakarta-tomcat-connectors/util/build/classes
[javac] javac: source release 1.4 requires target release 1.4

BUILD FAILED
/home/hantsy/tomcat-5-src/build.xml:50: Following error occured while executing this line
/home/hantsy/tomcat-5-src/jakarta-tomcat-5/build.xml:443: Following error occured while executing this line
/home/hantsy/tomcat-5-src/jakarta-tomcat-5/build.xml:168: Following error occured while executing this line
/home/hantsy/tomcat-5-src/jakarta-tomcat-connectors/util/build.xml:60: Compile failed; see the compiler error output for details.

=================================
how can I fix the error???tomcat 5 doesn't support jdk 1.5?I want to use mod-jk2 to connect apache2...
1. I 've installed the official "libapache2-mod-jk2" , but
it didn't support "jni".....
2. I builded mod-jk2 from source successfully , the "jni" did'nt work ,it was refused to connect to the apache2 server(I use debian offical pkg)...

Any body use "jni" connect to apache2 successfully?
hantsy
可愛的小學生
可愛的小學生
 
文章: 11
註冊時間: 週四 3月 04, 2004 8:22 pm
來自: china

回到 debian server

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客