-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Can't build using OpenJDK 17 #72
Comments
we have gradle 6.4 https://github.com/roc-streaming/roc-java/blob/main/gradle/wrapper/gradle-wrapper.properties#L3 Compatibility table: https://docs.gradle.org/current/userguide/compatibility.html |
If we update gradle, will it still work on java 8? If yes, I'd suggest to update. |
I think so. Now it works with java 11. The main problem is that maven plugin was removed from 7+ version. We using it for upload aar to maven central https://github.com/roc-streaming/roc-java/blob/main/android/roc-android/build.gradle#L2 But I guess it shouldn't be too hard to migrate to new maven-publish plugin :) |
After fixing this, we'll need to add java17 step to CI jobs for linux and osx. Also we can switch release step to java17 too. |
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android API 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
We now actually require JDK 17+ for building. (We still support Java 8+ for running). |
Currently, I'm able to build roc-java using OpenJDK 8, but not OpenJDK 17.
OpenJDK 8 is not available in next debian stable candidate, so it would be nice to fix build with recent version. Otherwise you need to install older JDK manually.
When using OpenJDK 17, I get the following error:
If I download JDK 8 from here and added it to PATH:
everything works.
The text was updated successfully, but these errors were encountered: