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

[Question] Support JDK21 on SPARC? #3

Open
robmcgee-isw opened this issue Feb 11, 2025 · 5 comments
Open

[Question] Support JDK21 on SPARC? #3

robmcgee-isw opened this issue Feb 11, 2025 · 5 comments

Comments

@robmcgee-isw
Copy link

robmcgee-isw commented Feb 11, 2025

Hey,
Have you had any success patching and building JDK21 for SPARC yet?
We use Solaris 11.4 build and test agents on Jenkins CI, which will require us to upgrade our agents to use JDK17 or 21 to maintain support.
Solaris SPARC is the only OS holding us back from using the JDK21 option which has longer support so would be the preferred option.

Thanks for the builds!

@ptribble
Copy link
Owner

I'm a long way off getting to JDK21 on SPARC. The changes (virtual threads) are quite extensive, and it will certainly not be straightforward. Given the expected difficulty, and being currently unfunded, it's not a high priority right now.

For now, I would use JDK17, which does appear to work fairly well for this use case. I talked to the Jenkins team about this at FOSDEM, and their forward plan would be for JDK17 to be supported for another 2 years or so, which gives a little leeway.

I'll keep this open for visibility.

Thanks for opening the question, and for showing that interest exists.

@robmcgee-isw
Copy link
Author

Good to know, thanks again.

@duttonw
Copy link

duttonw commented Feb 24, 2025

RFC for removing sparc builds out of idk: https://openjdk.org/jeps/381

When implemented: https://bugs.openjdk.org/browse/JDK-8272878

So from jdk18 onwards there is no easy backport of current Java onto this cpu architecture.

@robmcgee-isw
Copy link
Author

So would it be correct to assume that Oracle don't even support it anymore?
I was unsure if buying OS support would get us an official build since there's no visibility on what package/updates are available behind the paywall.

@ptribble
Copy link
Owner

You can buy support for JDK11 on SPARC/Solaris from Oracle. But that's basically it, no later versions at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants