[CentOS] Trouble with centos4 and jpackage - trying to install tomcat5

Mon Jan 21 16:41:28 UTC 2008
Christopher Thorjussen <Christopher.Thorjussen at carrot.no>

I've followed the installation instructions from jpackage.org:
http://www.jpackage.org/installation.php

1) Install jpackage17.repo in yum.repos.d
2) Install jpackage-utils
3) Install jdk (I installed jdk 1.5.0_14)
4) Install -compat package (I installed java-1.5.0-sun-compat)
5) Select alternatives for java and javac. "/usr/sbin/alternatives
--config java" gave me only one option to choose from
/usr/lib/jvm/java-1.5.0-sun/bin/java(c)

So I ran "yum install tomcat5" and after some time I got an error:

--> Running transaction check
--> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package:
java-1.5.0-sun-compat
--> Finished Dependency Resolution
Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package
java-1.5.0-sun-compat

I check my jdk:
[root at smse2e FILES]# rpm -qa | grep jdk
jdk-1.5.0_14-fcs

I obviously got the jdk installed. How can I "fix" this?


/Christopher Thorjussen