Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] jdk dependency for SSHTELNET MP

Subject: perfsonar development work

List archive

Re: [pS-dev] jdk dependency for SSHTELNET MP


Chronological Thread 
  • From: "Michael Bischoff" <>
  • To: "Candido Rodriguez Montes" <>
  • Cc: "Stijn Melis" <>, "" <>
  • Subject: Re: [pS-dev] jdk dependency for SSHTELNET MP
  • Date: Mon, 27 Oct 2008 15:50:58 +0100 (CET)
  • Importance: Normal

I think what stijn is getting at is that you need a JDK not a JRE.

JRE is a subset of JDK

A perfsonar service is an servlet application.
A servlet application requires a servlet container.
A servlet container requires JEE classes -> JDK.
(I thought the spec demandes a JDK too)

Tomcat requires a JDK to start, so if tomcat is packaged correctly and you
depend on tomcat
you shouldn't need any java dependency there.

Depends: ${shlibs:Depends}, ${misc:Depends}, tomcat5.5, tomcat5.5-exist

should already implicitly depend on a JDK >5.

regards,

Michael.


> Hi Stijn,
>
>
> On Oct 23, 2008, at 5:27 PM, Stijn Melis wrote:
>
>
>> Hi all,
>>
>>
>> I have to bugs on bugzilla, which relate to the prerequisite for jdk,
>> and I have a few questions about it.
>>
>> For the deb file, the users reported that there is no dependency for
>> jdk, yet when I look into the building files for debian, it states the
>> following:
>>
>>
>> Depends: ${shlibs:Depends}, ${misc:Depends}, tomcat5.5, tomcat5.5-
>> exist, java5-runtime | java6-runtime | java-virtual-machine
>>
>> Should I change this to include sun-java5-jdk and sun-java6-jdk as
>> well?
>
> This is a good question which doesn't have a good response :-)
> I think you shouldn't change it because your service (and mine) needs
> java5-runtime, not the one from sun. It probably works using IBM Java 5 or
> another
> implementation. The problem starts when the distribution is installing a
> java5
> implementation where our services doesn't works. My suggestion is
> specifying which Java 5
> implementation has been tested successfully with our services in the
> documentation.
>
>>
>>
>> For the rpm file, I want to add a dependency for jdk as well. I tried
>> adding jdk-1.5.0_16, but that doesn't seem to be a correct package. Does
>> anybody have an idea what is should be?
>
> Idem
>
>
>>
>>
>> Cheers,
>>
>>
>> Stijn
>>
>>
>
> Regards
>
>
> --
> Cándido Rodríguez Montes E-mail:
>
> Middleware warrior Tel:+34 955 05 66 13
> Red.ES/RedIRIS
> Edificio CICA
> Avenida Reina Mercedes, s/n
> 41012 Sevilla
> SPAIN
>
>
>
>
>
>




Archive powered by MHonArc 2.6.16.

Top of Page