Multiple versions of Java installed
SRI primitives such as primitives/SRI/d3m.primitives.learner.model.GeneralRelational/1.9.6/primitive.json
require openjdk-8-jdk-headless
RPI primitives such as primitives/RPI/d3m.primitives.regression.global_causal_discovery.RegressorRPI/v2020.5.18/primitive.json
require openjdk-8-jdk-headless
. Additionally they change the default for everybody from their setup.py
Distil primitives such as primitives/Distil/d3m.primitives.data_cleaning.geocoding.Goat_reverse/1.0.8/primitive.json
require default-jre-headless
, which installs openjdk-11-jre-headless
The result is that two versions of openjdk get installed:
- 179.1 MiB
java-11-openjdk-amd64
- 155.7 MiB
java-8-openjdk-amd64
Possible fixes:
- OpenJDK 8 users could update (since RPI go out of their way to set the default JRE I suppose there is a good reason)
-
default-jre-headless
users could depend on. Java 8 is already the one they end up using.java-runtime-headless
instead which wouldn't force the installation of version 11 if there is already a runtime installed
Edited by Remi Rampin