As its impossible to support the multitude of paths that might contain a Java install, the correct way to use a non-distro version of Java is to set JAVA_HOME in /etc/default/tomcat[6|7]. This will override any auto- detection in the init script.
Marking 'Won't Fix' as sufficient capability exists to configure this manually. ** Changed in: tomcat6 (Ubuntu) Status: Confirmed => Won't Fix ** Changed in: tomcat7 (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1100936 Title: init script cannot find java7 from oracle To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/1100936/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs