OpenNMS Horizon installs OpenJDK 1.8.0 even OpenJDK 11 is already installed

Description

When you install OpenJDK 11 and afterward installing OpenNMS Horizon, it will install OpenJDK 1.8.0 and will use the 1.8.0 JDK instead of the pre-installed OpenJDK 11.

It seems like the reason is the dependency for in opennms-core for java-1.8.0:

---> Package opennms-core.noarch 0:24.0.0-0.20190404.onms2767.release.24.0.0.44 will be installed --> Processing Dependency: java-1.8.0 for package: opennms-core-24.0.0-0.20190404.onms2767.release.24.0.0.44.noarch --> Processing Dependency: java-1.8.0 for package: opennms-core-24.0.0-0.20190404.onms2767.release.24.0.0.44.noarch
Installing : 2000:jdk1.8-1.8.0_181-fcs.x86_64 41/86 Unpacking JAR files... tools.jar... plugin.jar... javaws.jar... deploy.jar... rt.jar... jsse.jar... charsets.jar... localedata.jar...

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed April 12, 2019 at 7:05 PM

Ronny Trommer April 6, 2019 at 9:18 AM

This also affects packages for opennms-minion and opennms-sentinel.

Ronny Trommer April 5, 2019 at 9:18 AM

Additionally, should we only have Java dependencies in the opennms meta package?

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created April 5, 2019 at 9:16 AM
Updated April 24, 2019 at 2:11 PM
Resolved April 16, 2019 at 2:23 PM