Fix Version/s: None
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.