Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up Java installation #516

Open
basil opened this issue Mar 18, 2025 · 1 comment
Open

Clean up Java installation #516

basil opened this issue Mar 18, 2025 · 1 comment
Labels
good first issue Good first issue for a new contributor test

Comments

@basil
Copy link
Member

basil commented Mar 18, 2025

I got this message while running the test suite recently:

The java-17-openjdk package is deprecated and may no longer receive updates. Since f42 install adoptium-temurin-java-repository and install temurin-17-jre

https://fedoraproject.org/wiki/Changes/ThirdPartyLegacyJdks#adoptium-temurin-java-repository

We could install Eclipse Temurin rather than getting Java from the distribution. The precise manner in which this would be implemented would vary by distribution. That would be a change from how we do things today, where we install Java from the distribution.

Alternatively, we could stop trying to install an older Java LTS and install the latest Java LTS supported by each distribution. That might vary by distribution as well (e.g., newer distribution releases might carry newer Java LTS releases). That would also be a change from today, where we try to install Java 17 across all distributions (except for Fedora 41, where only Java 21 is available).

I have no strong preference as to which choice is made. To the implementer goes the decision. Whoever is doing the work can choose the implementation that makes the most sense.

@basil basil added test good first issue Good first issue for a new contributor labels Mar 18, 2025
@harshita2626
Copy link

Fedora is phasing out their old Java 17 package (java-17-openjdk) and recommending we switch to Eclipse Temurin instead. It's like when your favorite coffee shop stops selling your usual blend and points you to a better supplier.

The solution for this is
Switch to Eclipse Temurin:

Issue_1.txt

# First add the Temurin repository
sudo dnf install -y adoptium-temurin-java-repository

# Then install Java 17
sudo dnf install -y temurin-17-jre

Why using this solution because:
It's like getting your coffee straight from the roaster - better quality and more reliable

You won't need to change your code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good first issue for a new contributor test
Projects
None yet
Development

No branches or pull requests

2 participants