[ 
https://issues.apache.org/jira/browse/CASSANDRA-18751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754272#comment-17754272
 ] 

Stefan Miklosovic commented on CASSANDRA-18751:
-----------------------------------------------

[~mmuzaf] [~brandon.williams]

I have one improvement to suggest, we should use java-11-headless and 
java-17-headless, java-1.8.0-headless exists too.

The difference between headless and "no-headless" is, obviously, the amount of 
dependencies installed with it. There is stuff for Xorg etc ... This is going 
to be installed on servers (mostly) and full Java is not needed. Headless is 
completely fine. 

The difference is like this:

full: 
Install  157 Packages
Total download size: 102 M
Installed size: 371 M

headless:

Install  16 Packages
Total download size: 43 M
Installed size: 186 M


> Fix Requires for Java for RPM packages
> --------------------------------------
>
>                 Key: CASSANDRA-18751
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18751
>             Project: Cassandra
>          Issue Type: Task
>          Components: Packaging
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 5.x
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> We have to change Requires in redhat/cassandra.spec to
> java-1.8.0 for 3.0 and 3.11
> (java-1.8.0 or java-11) for 4.0. and 4.1
> (java-11 or java-17) for 5.0 and trunk
> noboolean would contain only java-1.8.0 and java-11 respectively where 
> applicable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to