paratechnical opened a new issue #3517: URL: https://github.com/apache/netbeans/issues/3517
### Apache NetBeans version Latest release ### What happened Netbeans 12.5 - It worked in Netbeans 11 When I open the project I get this error  When I tell Netbeans that I want to resolve it it doesn't work and I get this warning.  ``` Could not run build action using connection to Gradle installation 'C:\Users\ff.gradle wrap per\dists\gradle-7.0-bin\2p9eb qfab irfozi6 760gco7n\gradle~ Could not open cp_int generic class cache for intialzation script "c:\Program Files\NetBeans-12.5\netbeans\extide\modules\gradle\nb-toolng.gradie’ (C:\Users\ffi.gradie\caches\7.0\scripts\dtnvzzibbagvwi42m3qn4ji). Could not open cp_int generic class cache for intialzation script ‘c:\Program Files\NetBeans-12.5\netbeans\extide\modules\gradle\nb-tooing.gradie’ (C:\Users\ffi.gradle\caches\7.0\scripts\dtnvzzibbagvwi42m3qn4ji). BUG! exception in phase 'semantic analysis'in source unit‘ BuidScript_' Unsupported class fle major version 61 Unsupported class fie major version 61 ``` I tried changing the gradle version in Tools->Options->Java->Gradle to 6 doesn't seem to change anything because the warning still mentions gradle 7. I tried changing the java version but that doesn't seem to work either.  I tried deleting the cache both in the project and in the gradle folder C:\Users\<user>\.gradle ### How to reproduce create a gradle project in netbeans 11 open in netbeans 12 ### Did this work correctly in an earlier version? - [X] This used to work! ### Operating System Windows 10 Pro ### JDK 17.0.1 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
