tomcat5 requires GCJ even though sun-java5-jre is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dapper Backports |
Invalid
|
Undecided
|
Unassigned | ||
libservlet2.4-java (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
tomcat5 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Clean Ubuntu Dapper installation on my HP laptop, with full Sun-Java5 installed.
[root@oftheother ~]$ dpkg -l | grep sun
ii sun-java5-bin 1.5.0-06-1 Sun Java(TM) Runtime Environment (JRE) 5.0
ii sun-java5-demo 1.5.0-06-1 Sun Java(TM) Development Kit (JDK) 5.0 demos
ii sun-java5-jdk 1.5.0-06-1 Sun Java(TM) Development Kit (JDK) 5.0
ii sun-java5-jre 1.5.0-06-1 Sun Java(TM) Runtime Environment (JRE) 5.0
ii sun-java5-plugin 1.5.0-06-1 The Java(TM) Plug-in, Java SE 5.0
[root@oftheother ~]$ apt-cache show sun-java5-jre
...
Provides: java-virtual-
[root@oftheother ~]$ apt-cache show tomcat5
...
Depends: kaffe (>= 2:1.1.6-3) | java-gcj-compat-dev (>= 1.0.41-1) | java2-runtime, libtomcat5-java (>= 5.0.30-9), adduser (>= 3.34), apache-utils (>= 1.3.33-1) | apache2-common
[root@oftheother ~]$ sudo apt-get install tomcat5
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
apache2-common apache2-utils gcj-4.1-base gij-4.1 java-gcj-compat libbcel-java libcommons-
libcommons-
libcommons-
libservlet2.
Suggested packages:
apache2-doc gcj-4.1 libgcj7-awt libbcel-java-doc libcommons-
jython libapache-mod-jk libapache2-mod-jk tomcat5-webapps tomcat5-admin
Recommended packages:
libgcj7-src
The following NEW packages will be installed:
apache2-common apache2-utils gcj-4.1-base gij-4.1 java-gcj-compat libbcel-java libcommons-
libcommons-
libcommons-
libservlet2.
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.0MB of archives.
After unpacking 51.1MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
-------
If I have sun-java5-jre installed, which provides java2-runtime (as we discovered in Bug #56497), why does installing tomcat5 also install GCJ packages?
libservlet2.4-java does not offer java2-runtime as an alternative to java-gcj-compat.