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

Android: Move off Java 8 onto the latest release that Github supports #2767

Open
pljones opened this issue Aug 1, 2022 · 2 comments
Open
Labels
feature request Feature request tooling Changes to the automated build system
Milestone

Comments

@pljones
Copy link
Collaborator

pljones commented Aug 1, 2022

What is the current behaviour and why should it be changed?

The Jamulus for Android build process currently requires Java 8 to run. As Java 8 is out of support (since March 2022), the build should move onto the current GA LTS version (Java 17).

Unfortunately, whilst Android SDK has moved forwards, as of March 2020 only JDK 11 was supported (released 2018). JDK 17 (September 2021) is not yet supported.

Describe possible approaches

  • Stick with Java 8 until JDK 17 support arrives
  • Move to JDK 11 to remain on a supported Java version

I'd suggest we move to JDK 11. It's likely to take some time for Google to move to 17 - there does not appear to be any roadmap published. They may choose to wait until the next LTS after 17 comes out to move onto 17, for example, which will be around 2024.

Note that this does not affect Jamulus itself, only the Android APK packaging.

Arose here, agreed by @ann0see here and @hoffie here.

@pljones pljones added the feature request Feature request label Aug 1, 2022
@pljones pljones added this to the Release 3.10.0 milestone Aug 1, 2022
@pljones
Copy link
Collaborator Author

pljones commented Apr 19, 2023

Do we want to include this ni 3.10.0? If so, is there anyone able to spend some time on it?
Moving to Triage and dropping the milestone as we've no Android development interest, as far as I can tell.

@pljones pljones removed this from the Release 3.10.0 milestone Apr 19, 2023
@pljones pljones added the tooling Changes to the automated build system label May 21, 2023
@pljones
Copy link
Collaborator Author

pljones commented Aug 12, 2023

https://developer.android.com/build/jdks#groovy
Above has some details that may help. Android SDK building now supports Java 17 as both source and target. We'd need to target 11 if we need any compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request tooling Changes to the automated build system
Projects
Status: Backlog
Development

No branches or pull requests

2 participants