Workaround for people trying to install tomcat5.5 in Hardy:

~$ sudo apt-get install tomcat5.5

Let it finish, you will get an error message - but it has actually
installed. Now add the line below to /etc/init.d/tomcat5.5 near the top
of the file (just below "DEFAULT=..." is fine):

JAVA_HOME=/usr/lib/jvm/java-6-openjdk

Be sure to edit the path to match your JDK (the one above is correct for
OpenJDK 6). Now try installing again:

~$ sudo apt-get install tomcat5.5

This time it will finish successfully.

-- 
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 subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to