[aur-general] Java SDK/Runtime dependencies

Xavier shiningxc at gmail.com
Thu Feb 5 07:41:24 EST 2009

On Thu, Feb 5, 2009 at 1:13 PM, Ondřej Kučera <ondrej.kucera at centrum.cz> wrote:
> Hello,
> Rorschach wrote:
>> thanks Ronald van Haren and dejari for making this clear! I updated now
>> all my packages which require java: i2p, jondo and ipscan to depend on j2sdk
>> instead of openjdk6. I'm now going to add this to the java packaging
>> guidelines.
> No, please don't do that. As far as I remember, j2sdk is a historical name,
> there used to be a package of this name, later it was renamed to jdk (and is
> in community). Packages that provide j2sdk do so only for backwards
> compatibility. (There was also a packages j2re and some packages still
> provide j2re, again just for the backward compatibility.)
> The "correct" dependencies now are the following two:
> - java-runtime - needed for applications written in Java
> - java-environment - needed for Java development and for applications that
> need to compile Java classes during their run (e.g. Apache Tomcat)
> Whenever possible, all applications should depend only on one of these
> "virtual packages". Only if a certain Java application works for example
> with Sun's Java but not with openjdk, it should depend directly on the
> package jre. Bud I see no reason whatsoever for any application to depend on
> j2sdk, it doesn't make much of a sense.

This makes sense to me, so if you are 100% sure, or if someone else
can confirm this information, please update the wiki accordingly :
http://wiki.archlinux.org/index.php/Java_Package_Guidelines . The
whole Dependencies section needs to be fixed and should contain all
the information you just gave.

More information about the aur-general mailing list