Bug#495235: tomcat5.5 doesn't recognize openjdk-6-jre for running

Thierry Carrez thierry.carrez at ubuntu.com
Wed Sep 10 12:38:16 UTC 2008


Hello Marcus,

I've been working on this issue for the Ubuntu version of tomcat5.5 to
try to make sure it would run with openjdk-6-jre-headless which is our
target for default java server runtime environment.

Since Tomcat uses libecj-java to compile JSPs, it doesn't really need a
JDK. So I removed the JDK test in the init script and adjusted deps in
the control file to use the new java-common virtuals (and moved the
depends to libtomcat5.5-java as it is in debian policy to have the
lib*-java depend on a runtime).

I also adjusted the JDK_DIRS list to preferably use the one in
/usr/lib/jvm/default-java.

Please see attached patch, applies to current 5.5.26-3.
Hoping this helps, let me know what you think of it.

-- 
Thierry Carrez
Ubuntu server team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jre.diff
Type: text/x-diff
Size: 2752 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20080910/5d878480/attachment.diff 


More information about the pkg-java-maintainers mailing list