> Am 16.05.2023 um 10:04 schrieb Patrick Dupre <pdu...@gmx.com>:
> 
> ...
> 
>     I did:
> dnf remove java-latest-openjdk
>   and it seems OK now

Very good.

>     However, I still have 3 versions of java
>   java-1.8.0-openjdk-headless-1.8.0.362.b09-1.fc36.x86_64
> java-1.8.0-openjdk-1.8.0.362.b09-1.fc36.x86_64
> java-1.8.0-openjdk-devel-1.8.0.362.b09-1.fc36.x86_64
> java-11-openjdk-headless-11.0.19.0.7-1.fc36.x86_64
> java-11-openjdk-11.0.19.0.7-1.fc36.x86_64
> java-11-openjdk-devel-11.0.19.0.7-1.fc36.x86_64
> java-17-openjdk-headless-17.0.7.0.7-1.fc36.x86_64
> java-17-openjdk-17.0.7.0.7-1.fc36.x86_64
> java-17-openjdk-devel-17.0.7.0.7-1.fc36.x86_64
>   Should I keep all of them ?

In Germany the saying is "Radio Eriwan, it depends … „

OpenJDK packages in Fedora are designed in such a way that several versions can 
be installed at the same time without any problems and can also be used in 
parallel without any restrictions or obstacles. This is practical or sometimes 
necessary if older Java programs do not get along with newer OpenJDK versions 
or are simply not tested. Java is "Enterprise grade" and designed for long term 
and error free use. This distinguishes Java from some other programming 
languages, where version jumps are again and again for impairments and 
malfunctions of existing programs.  

You use 'updates-alternatives --config java' to set the default version. By 
configuration in /etc/sysconfig you can set a specific version for individual 
Java programs (or adjusting their main class path). 


So, if all your Java programs are running with JDK X you can remove the other 
versions. But many SysAdmins keep for convenience at least the JRE of all 
supported LTS versions and the JDK as far as it is needed for development or 
testing. 




--
Peter Boy
https://fedoraproject.org/wiki/User:Pboy
p...@fedoraproject.org

Timezone: CET (UTC+1) / CEST /UTC+2)

Fedora Server Edition Working Group member
Fedora Docs team contributor and board member
Java developer and enthusiast


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to