August 01, 2004
Installing Jakarta-Tomcat on Debian
According to this excellent guide to installing Jakarta-Tomcat with Apache on Debian I need to get and install a JDK myself. Specifically it recommends the 1.18 JDK for Linux from IBM. Sadly the page that is mentioned when I install the Debian package ( http://www.ibm.com/java/jdk/118/linux/ ) no longer works. Which stumps me somewhat.
The prognosis isn't good, according to this bug report the package is moribund. So is there a way to get Tomcat working under Debian that neither I nor Google know about?
Posted by Andy Todd at August 01, 2004 02:50 PM
You could use blackdown jdk instead, then apt-get install tomcat4.
However I had difficult getting the package (Darkhorse CRM) runing with this. I think this was because Debian lacks Tomcat 5.
In the end I installed a gentoo UML instance. This works fine. I've got some discussion about that here: http://stateless.geek.nz/archives/2004/07/27/gentoo/
(You can figure out my email address by going to the URL and typing in my name :-) )
To use Tomcat in Debian, I:
-Get the Sun JDK
(The Blackdown one seems a little suss with some
-Install it into /usr/local/java/j2s...
-Symlink /usr/local/java/current to the above
-Set various environments to point java_home etc.
to the symlinked location
-Set /etc/equivalents properly
... everything works nicely..
There are some dummy java packages you should install to satisfy dependancy stuff..
Ie. "Yes Debian, I did install the JVM" :)
You'll find the way to do this in java-common package I believe, you'll also need equivs package to build the dummies.
Ie. Install java-common - read