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/09/29 03:19:00 UTC
[jira] [Commented] (NETBEANS-6072) Can't load/reload Gradle
project, NB always attempts to download Gradle 7.0
[ https://issues.apache.org/jira/browse/NETBEANS-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421909#comment-17421909 ]
Laszlo Kishalmi commented on NETBEANS-6072:
-------------------------------------------
What is the JDK you are running NetBeans on. If it is Java 16, then NetBeans has to use Gradle 7, otherwise it cannot evaluate the project.
> Can't load/reload Gradle project, NB always attempts to download Gradle 7.0
> ---------------------------------------------------------------------------
>
> Key: NETBEANS-6072
> URL: https://issues.apache.org/jira/browse/NETBEANS-6072
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 12.5
> Reporter: Paul Gifford
> Priority: Major
>
> *Environment*: I develop on a computer that has never been and will never be connected to the Internet.
> When loading a Gradle project I get a notification stating "Cannot load (specific project path)" with detail "Could not install Gradle distribution from `https://services.gradle.org/distributions/gradle-7.0-bin.zip'." I get the same message when I try to reload the project.
> I upgraded from NB 12.4 to 12.5 and imported my settings (which specify the path to my local Gradle 6.8.3 installation). The panel at Tools | Options | Java | Gradle has the correct Gradle User Home. "Gradle Distribution: Custom" is checked and the path is that of my local Gradle installation. No other boxes in the "Execution" category are checked.
> Every class appears to have errors and my code is littered with red underlines due to "cannot find symbol" errors. NB 12.5 is unusable because of this. I can compile my project but the errors remain.
> This did not occur with NB 12.4.
--
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