Open insinfo opened 2 years ago
Your log shows you're using Gradle 6.8.3, which does not support Java 17. Please follow the guidance there to check your settings: https://github.com/microsoft/vscode-gradle#compatibility-with-the-java-language-support-extension
To be more precisely, this error may refer to the incompatible version of gradle and java. You can check the gradle-wrapper.properties or some other place to find the gradle version, and make sure it works with your installed java version.
Extension Name: Gradle for Java Extension Version: 3.12.0 (2022-04-27) OS Version: Windows 10 VSCode version: 1.66.2
Describe the bug General error during semantic analysis: Unsupported class file major version 61
To Reproduce create a new project with Gradle 7.4.1 and OpenJDK Runtime Environment GraalVM CE 22.0.0.2 installed on the machine and open in Visual Studio Code
Expected behavior Run normally
Output from "Gradle for Java"