[Bug 264808] Re: Package does not work with JDK 5

Matthew Buckett buckett at bumph.org
Fri Mar 6 11:38:55 GMT 2009


I just got bitten by the Tomcat6 being compiled for JDK 1.6, for someone
who is used to the standard distributions from http://tomcat.apache.org/
I lost quite a bit of time chasing down the reason.

It wasn't helped by the fact that in the file /etc/init.d/tomcat6 is the
line:

JDK_DIRS="/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm"

which means that tomcat6 will attempt to use a 1.5 JDK if a 1.6 JDK
isn't installed.

Tomcat 6 runs fine on JDK 1.5 and it would be helpful if the packaged
version was compiled so that it would run against it.

-- 
Package does not work with JDK 5
https://bugs.launchpad.net/bugs/264808
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list