[
https://issues.apache.org/jira/browse/NETBEANS-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422103#comment-17422103
]
Paul Gifford edited comment on NETBEANS-6072 at 9/29/21, 1:05 PM:
------------------------------------------------------------------
I was using JDK 16; after switching to 15 the problem did not reoccur.
Two suggestions:
# If user has selected a Custom Gradle Distribution with version < 7 then NB
should not attempt to download Gradle 7 and instead alert the user to set
Custom to 7+. Should NB ever try to automatically download Gradle if Custom is
selected?
# NB should state, "I'm going to download Gradle 7 because it is required with
JDK 16". I had no idea why NB was trying to download Gradle when I
specifically set a custom distribution.
I was using JDK 15 with NB 12.4. When NB 12.5 became available on our offline
development network I figured I'd grab JDK 16 as well...next time I'll upgrade
one thing at a time.
Thank you for the prompt reply!
was (Author: pgifford):
I was using JDK 16; after switching to 15 the problem did not reoccur.
Two suggestions:
# If user has selected a Custom Gradle Distribution with version < 7 then NB
should not attempt to download Gradle 7 and instead alert the user to set
Custom to 7+. Should NB ever try to automatically download Gradle if Custom is
selected?
# NB should state, "I'm going to download Gradle 7 because it is required with
JDK 16". I had no idea why NB was trying to download Gradle when I
specifically set a custom distribution.
Thank you for the prompt reply!
> 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: [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