The above JDK_DIRS and JAVA_HOME changes are already in 5.5.20-4ubuntu1. But I still encounter errors when installing tomcat 5.5 in feisty.
Setting up tomcat5.5 (5.5.20-4ubuntu1) ... Adding system user `tomcat55' (UID 111) ... Adding new user `tomcat55' (UID 111) with group `nogroup' ... Not creating home directory `/usr/share/tomcat5.5'. Installing /var/lib/tomcat5.5/conf/tomcat-users.xml. * no JDK found - please set JAVA_HOME Found that aptitude installed java-gcj automatically when I install tomcat5.5, so /usr/lib/j2sdk1.5-sun still was not installed. [EMAIL PROTECTED]:~$ sudo aptitude install tomcat5.5 Password: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages have been automatically kept back: linux-image-generic linux-restricted-modules-common linux-restricted-modules-generic The following NEW packages will be automatically installed: ant ant-optional ecj ecj-bootstrap ecj-bootstrap-gcj ecj-gcj fastjar java-common java-gcj-compat jikes jikes-gij jsvc libbcel-java libcommons-beanutils-java libcommons-collections-java libcommons-collections3-java libcommons-daemon-java libcommons-dbcp-java libcommons-digester-java libcommons-el-java libcommons-launcher-java libcommons-logging-java libcommons-modeler-java libcommons-pool-java libgcj7-jar liblog4j1.2-java libmx4j-java libregexp-java libservlet2.4-java libtomcat5.5-java The above command was ran on a fresh installed machine. -- Use the default Java packages in Tomcat configuration https://bugs.launchpad.net/bugs/76567 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs