GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
318 stars 59 forks source link

Latest version of the cloud plugin doesn't work with Java 8 #3077

Closed nivsa closed 2 years ago

nivsa commented 2 years ago

Latest version of the cloud plugin doesn't work with Java 8

After upgrade IJ fails on:

Cause: com/google/cloud/tools/intellij/appengine/java/gradle/AppEngineGradleModel has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Let me know if you need more info

etanshaul commented 2 years ago

@nivsa thanks for the report. Could you please share exactly which features / steps you were following to encounter this error? Thanks.

Zweib commented 2 years ago

I have the same problem but we are not ready to migrate some of our projects to jdk 11 or 17 yet.

It can be reproduced by the steps:

etanshaul commented 2 years ago

@Zweib thanks for the details. To follow up - were you trying to use any Cloud Code specific features (like deployment to App Engine), or did this happen just as part of your "normal" workflow (not using Cloud Code).

etanshaul commented 2 years ago

Update: I can reproduce this. We are investigating a fix and will put one out as soon as possible.

emmanuelbaah commented 2 years ago

Please update to version 22.4.2 for the fix. I'll be closing this but feel free to reopen if this issue persists.

atrujillofalcon commented 1 year ago

Its reproducible again with Cloud Code 23.4.3-222 and Gradle JVM 1.8

IntelliJ 2023.1.1 Ultimate Edition