cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Whitehouse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-14390) Cassandra's Debian package depends on java-X-jre which requires GUI components
Date Tue, 17 Apr 2018 13:48:00 GMT
Richard Whitehouse created CASSANDRA-14390:
----------------------------------------------

             Summary: Cassandra's Debian package depends on java-X-jre which requires GUI
components
                 Key: CASSANDRA-14390
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14390
             Project: Cassandra
          Issue Type: Bug
          Components: Packaging
            Reporter: Richard Whitehouse


Cassandra can't be installed against a later version of the JRE without also installing a
bunch of GUI packages which aren't relevant on a server installation.

e.g. Cassandra 3 can't be installed against a Java 9 JRE without also installing GUI components.

This is because of the Debian package dependencies.

Cassandra 3+ depends on `openjdk-8-jre-headless | java-8-jre`.

Cassandra 2.x depends on `opendjk-7-jre-headless | java-8-jre`

`java-X-jre` is a metapackage which specifies a Java version compatible with the given Java
version that includes GUI components. It's supplied by `openjdk-X-jre` - e.g. `java-8-jre`
is supplied by `openjdk-8-jre` and `openjdk-9-jre`.

In comparison, `java-X-jre-headless` is a metapackage which specifies a Java version compatible
with the given Java version but doesn't require GUI components.It's supplied by `openjdk-X-jre-headless`
- e.g. `java-8-jre-headless` is supplied by `openjdk-8-jre-headless` and `openjdk-9-jre-headless`.

Can Cassandra be changed to depend on `java-8-jre-headless` instead of `java-8-jre`?

This affects all releases since Debian packaging was introduced according to the commit logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message