docker-android-nodejs
docker-android-nodejs copied to clipboard
Java 17
Thanks so much for these images! Is there a java 17 image or an easy way to change versions ourselves?
Looking at the EOL (and ended Premier Support) of Java 11, I think we could upgrade to Java 17 as the default Java version overall. I'll check if this affects the other images depending on it (Cordova / Ionic).
see https://endoflife.date/oracle-jdk
Requirements check failed for JDK 1.8.x! Detected version: 11.0.17
@hopeseekr Where are you getting this exception? This looks like you are still using Java 8 in your application.
I'm getting this exception when trying to run a Gradle command in a Bitbucket pipeline, using the beevelop/android-nodejs:v2023.10.1 image:
Welcome to Gradle 8.0!
For more details see https://docs.gradle.org/8.0/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file '/opt/atlassian/pipelines/agent/build/analytics/build.gradle.kts' line: 1
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.library']
> Failed to apply plugin 'com.android.internal.library'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /usr/lib/jvm/java-11-openjdk-amd64
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org/
BUILD FAILED in 1m 6s
Any updates on when you think this could happen?