Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
12.3
-
None
-
I switched the project to Gradle 7.0.2. (from 6.?)
Java is openJDK 16.0.2 (from 15.?)
OS is Ubuntu Budgie 21
Description
I switched the project to Gradle 7.0.2.
Java is openJDK 16.0.2
OS is Ubuntu Budgie 21
in /opt/gradle there is gradle 7.0.2
in /home/martin/.gradle there are several gradles
within build.gradle
I have
subprojects
{ sourceCompatibility = JavaVersion.VERSION_16 targetCompatibility = JavaVersion.VERSION_16 }
when in terminal
gradle --version shows 7.0.2
./gradlew --version shows 7.0.2
gradle build is working
./gradlew build is working
In NB right clicking root project -> "reload project" fails!
Message is:
"
Unsupported class file major version 60 (as if I am NOT using gradle 7)
...
Could not run build action ... /home/martin/.gradle ... /gradle-6.7
However under Options->Java->gradle version is set to 7.0.2 // no possible option is working
—
I am now struggling for hours with this / I am even struggling to be able to go back to Java 15
—
any quick help highly appreciated