Since Java 6 from Oracle is not supported with Ubuntu repositories anymore, I installed it by downloading the package from java.oracle.com, unpacking it in /opt
and adding symlinks in /usr/bin
.
Now I need to install tomcat6 and I would really like to use the repository for it (for the benefits of updates, default configuration and dir breakdown tailored for Ubuntu etc.). Unfortunately, I don't see a way to do it without installing openjdk
.
How can I install tomcat6
from repository in this configuration, or tell Ubuntu that I already have Java and I'm happy with it thank you very much? Do I have to install tomcat (and all other Java-dependent packages) by downloading them from their respective websites, unpacking and adding links myself?