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

Check for Java 21 for OH5? #1937

Open
mstormi opened this issue Dec 22, 2024 · 6 comments · May be fixed by #1940
Open

Check for Java 21 for OH5? #1937

mstormi opened this issue Dec 22, 2024 · 6 comments · May be fixed by #1940
Assignees

Comments

@mstormi
Copy link
Contributor

mstormi commented Dec 22, 2024

Some maintainer asked if we could check for Java 21 to exist when switching to or installing snapshots (OH5 now which requires Java 21)

not sure what / how much we would need to do here.

@ecdye
Copy link
Contributor

ecdye commented Dec 23, 2024

We could probably just install the BelSoft 21 routine if needed.

@mstormi
Copy link
Contributor Author

mstormi commented Dec 23, 2024

better to install OpenJDK 21, Belsoft was just for some special case not exactly sure but was'nt it 32bit?
read somewhere that Java 21 is backwards compatible such that if someone changes back to OH4 release they can keep java.

@ecdye
Copy link
Contributor

ecdye commented Dec 23, 2024

I think BellSoft was for arm32 primarily but appears to work elsewhere.

I haven't really looked into it at all, but I do know that on bookworm the JDK 21 hasn't been added to the APT repo.

@ecdye
Copy link
Contributor

ecdye commented Jan 5, 2025

@mstormi I'm going to pick this up next. Hopefully I can get it done in the next few days. I'm thinking we go with our tested Adoptium's Eclipse Temurin packages. They are also what are recommended by the main distribution for OH 5 IIRC

@ecdye ecdye self-assigned this Jan 5, 2025
@mstormi
Copy link
Contributor Author

mstormi commented Jan 5, 2025

I guess there's no real recommendation for now in the sense that some Java dev compared and recommended it's just what they got it to work with.
I suggest we check out the testing and unstable Debian repositories first incl. 3rd party repo providers. Maybe there's some OpenJDK 21 package available.

@ecdye
Copy link
Contributor

ecdye commented Jan 5, 2025

I guess there's no real recommendation for now in the sense that some Java dev compared and recommended it's just what they got it to work with. I suggest we check out the testing and unstable Debian repositories first incl. 3rd party repo providers. Maybe there's some OpenJDK 21 package available.

There may be some, but I think it is worth exploring the Adoptium Temurin builds. We've actually already been supporting them for years. We just originally implemented them under the name of AdoptOpenJDK but they had a couple of renames since then.

I'll try to add both options, I'm curious which is a smaller runtime and also if either has greater support.

Also aș a side note, as part of this I plan to get rid of all the legacy Zulu support, I'm done using them especially after all that I've had to do in the past to get support from them. We have much better alternatives from the Debian folks and Adoptium.

@ecdye ecdye linked a pull request Jan 6, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants