[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with tomcat6/7-common, default-jre-headless and with make-jpkg created "j2sdk1.7-oracle" packages



Hello Reiner,

On Thu, 31. Oct 18:33 Reiner Keller <Reiner.Keller@gmx.de> wrote:
[...]
> Do you have a good solution for it which can be packaged global?
> I think that many peoply have same needs as we have. Thanks.

That's a pity. As you already know Oracle Java is non-free software, so
Debian can't and won't depend on that.

> Here my actual quick-fix for our setup and further hints what seems not
> ok from my sight:

Based on your information in this thread, I think it is a more promising idea
to file a bug report against either the java-package and/or tomcat. Of
course you are also free to modify the packages as you wish for local
use.

> I take a further look...  make-jpkg creates this package info/provides:
>
>  Package: oracle-j2sdk1.7
>  Version: 1.7.0+update45
>  Replaces: oracle-j2sdk1.7debian
>  Provides: j2re1.7, j2sdk1.7, java-browser-plugin, java-compiler,
> java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
> java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
>
> => seems not so good...
>    There seems the "provider" for java7-runtime, java7-runtime-headless
>    and perhaps more missing ?

This might be a bug in java-package. Please consider filing a bug
report.

[...]

> Tomcat6/7 needs additional Providers?:
>
> Package: tomcat6-common
> Depends: libtomcat6-java (>= 6.0.35-6+deb7u1), default-jre-headless |
> java7-runtime-headless | java7-runtime |
>          java6-runtime-headless | java6-runtime | java5-runtime
>
> Package: tomcat7-common
> Depends: libtomcat7-java (>= 7.0.28-4), default-jre-headless |
> java6-runtime-headless | java6-runtime | java-6-runtime
>
>
> => Here I got a little confused ;) ...
>    Why has Tomcat6 a java7-runtime / java7-runtime-headless as
>    dependencies and Tomcat7 not ?
>

tomcat7 depends on default-jre-headless which points to
openjdk-7-jre-headless that in turn provides java7-runtime-headless and
java7-runtime. In most circumstances that should be sufficient. However
providing java7-runtime as an alternative dependency might be a good
idea too. -> bug report

Regards,

Markus

Attachment: signature.asc
Description: Digital signature


Reply to: