Going back to IcedTea, openjdk8 is obsolete

Tomasz Pala gotar at polanet.pl
Mon Jun 5 09:52:48 CEST 2017


On Mon, Jun 05, 2017 at 08:46:36 +0200, Jacek Konieczny wrote:

>> /usr/lib64/jvm/java -> icedtea8-3.4.0 symlink is provided by icedtea8-jdk
>> - this package contains symlinks and manuals only, BUT also:
>>
>> Requires:       icedtea8-jar = 3.4.0-1, icedtea8-jdk-base = 3.4.0-1
>> 		one symlink and 2 mans, ...20 MB of unnecessary stuff
> 
> The Requires are the main part of this package ? as it brings all the 
> stuff together to make the complete 'JDK'.

So (assumink JDK means Development Kit) the directory is not a part of
JDK and should be moved somewhere outside. Consider what's the purpose of
splitting icedtea8-jdk from icedtea8-jdk-base then.

>> I'm not a JAVA guy, however this seems to be swapped: icedtea8-jdk and
>> icedtea8-jdk-base. I need the directory symlink mentioned only (to be
>> suggested by gdal).
> 
> Only the symlink, or rather the libjvm.so library with all the dependencies?

Symlink and the libjvm.so of course, but this is in icedtea8-jre-base subpackage which
WAS pulled by gdal itself.

> The library is a part of the JRE. I guess we could move the 
> %{_libdir}/jvm/java symlink to icedtea8-jre, but it still needs to pull 
> whole JRE (that is still less than JDK).

Yes, something like icedtea8-jre (with R: icedtea8-jre-base itself) should
be used to system-select the JRE to be used.

> The symlink is there to allow multiple JDK/JRE versions installed (Java 
> world is crazy and one may need that) ? the symlink points to the 
> current default one.

Moreover, we should have sth like oracle-jre package with appropriate
symlink and fake provides for the systems with self-installed Oracle
non-distributables.

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list