You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2021/05/18 19:05:00 UTC
[jira] [Resolved] (NETBEANS-5688) Gradle 7.0.2 with Java 16 NOT
working
[ https://issues.apache.org/jira/browse/NETBEANS-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-5688.
---------------------------------------
Fix Version/s: 12.4
Resolution: Information Provided
> Gradle 7.0.2 with Java 16 NOT working
> -------------------------------------
>
> Key: NETBEANS-5688
> URL: https://issues.apache.org/jira/browse/NETBEANS-5688
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Gradle
> Affects Versions: 12.3
> Environment: I switched the project to Gradle 7.0.2. (from 6.?)
> Java is openJDK 16.0.2 (from 15.?)
> OS is Ubuntu Budgie 21
>
> Reporter: Martin
> Assignee: Laszlo Kishalmi
> Priority: Major
> Fix For: 12.4
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists