gradle-android-eclipse icon indicating copy to clipboard operation
gradle-android-eclipse copied to clipboard

Maven version compiled with class version 54, should be 52 for Java 8 compatibility

Open tobykurien opened this issue 6 years ago • 7 comments

tobykurien avatar Mar 15 '19 12:03 tobykurien

+1

brookhong avatar Mar 24 '19 06:03 brookhong

This is biting me too. I will have to use OpenJDK 8 for quite a while.

schildbach avatar Apr 22 '19 10:04 schildbach

Patch available: https://github.com/greensopinion/gradle-android-eclipse/pull/13

schildbach avatar Apr 26 '19 14:04 schildbach

Thanks for the issue. With Java SE being past it's "End of Public Updates" (https://www.oracle.com/technetwork/java/java-se-support-roadmap.html) I didn't realize that this would be an issue for folks. Can anyone indicate why they're stuck with Java 8? It will help me to understand whether it's something that I should be supporting. Thanks.

greensopinion avatar Apr 26 '19 20:04 greensopinion

There is tons of issue reports with Java 9-12. Many have to do with the introduction of the module system and being unable to access classes like Unsafe.

The Android toolchain only supports Java 11 since recently. Yes developers can't upgrade that fast, are stuck still on SDKs that are not yet compatible.

schildbach avatar Apr 26 '19 21:04 schildbach

JDK 8 is still the most widely adopted version in the whole world.

Check this JVM Ecosystem Report 2018

image

At this moment, the JVM Ecosystem Survey 2019 is on. Take Java Ecosystem Survey 2019.

BTW, though Oracle has ended support for OracleJDK8, Red Hat now takes leadership of OpenJDK 8 and OpenJDK 11 from Oracle, so commercial support for OpenJDK 8 will still continue for a long while from Red Hat.

jianzhoujz avatar May 21 '19 09:05 jianzhoujz

I'm working on this, see https://github.com/greensopinion/gradle-android-eclipse/wiki/2020-experiment

greensopinion avatar Feb 19 '20 16:02 greensopinion