SRU report Bug impact: Makes tomcat5.5 uninstallable on most systems (only works on systems without any JVM installed at all or with sun-java6-jdk preinstalled).
Intrepid bugfix: Was fixed in 5.5.26-3ubuntu1 (see changelog just above) Minimal patch: see below. TEST CASE: On a newly-installed hardy system (without java-gcj-compat-dev or sun-java6-jdk installed), any of these installation commands will fail with "no JDK found - please set JAVA_HOME" error : $ sudo apt-get install java-gcj-compat tomcat5.5 $ sudo apt-get install sun-java6-jre tomcat5.5 $ sudo apt-get install openjdk-6-jdk tomcat5.5 $ sudo apt-get install openjdk-6-jre tomcat5.5 With the updated package, installation succeeds in all cases and Tomcat 5.5 runs properly. Regression potential: The patch enables two things: add /usr/lib/jvm/java-6-openjdk to the list of potentially-used JVMs and allow to run with a JRE and not necessarily a JDK (to match the providers of the existing "java2-runtime" runtime dependency). In both cases, it allows to install and run on systems where installation would currently simply fail, so the regression potential is minimal. Furthermore, I thoroughly tested that Tomcat 5.5 could install and run properly with any of the java2-runtime providers, so this should not introduce other bugs. -- Installation of tomcat5.5 fails if sun-java-jdk is not installed https://bugs.launchpad.net/bugs/179447 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
