[ 
https://issues.apache.org/jira/browse/NETBEANS-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346808#comment-17346808
 ] 

Geertjan Wielenga commented on NETBEANS-5688:
---------------------------------------------

Right. 12.3 doesn’t support JDK 16 and doesn’t support Gradle 7.

Join the dev mailing list (see netbeans.apache.org) and provide feedback on the 
12.4 release that supports these versions and will be released soon.

> 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
>
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to