Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14390

Cassandra's Debian package depends on java-X-jre which requires GUI components

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None
    • Severity:
      Low

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              richardwhiuk Richard Whitehouse
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: