Skip to content

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

Open
@pljones

Description

@pljones

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.

Activity

added this to the Release 3.10.0 milestone on Aug 1, 2022
pljones

pljones commented on Apr 19, 2023

@pljones
CollaboratorAuthor

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.

removed this from the Release 3.10.0 milestone on Apr 19, 2023
added
toolingChanges to the automated build system
on May 21, 2023
pljones

pljones commented on Aug 12, 2023

@pljones
CollaboratorAuthor

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.

moved this from Triage to Backlog in Trackingon Aug 12, 2023
added this to the Release 3.11.0 milestone on Aug 12, 2023
moved this from Backlog to Triage in Trackingon Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestFeature requesttoolingChanges to the automated build system

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Android: Move off Java 8 onto the latest release that Github supports · Issue #2767 · jamulussoftware/jamulus