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 2019/01/22 21:31:01 UTC
[jira] [Created] (NETBEANS-1970) Gradle projects are not loading on
Java 11
Laszlo Kishalmi created NETBEANS-1970:
-----------------------------------------
Summary: Gradle projects are not loading on Java 11
Key: NETBEANS-1970
URL: https://issues.apache.org/jira/browse/NETBEANS-1970
Project: NetBeans
Issue Type: Improvement
Affects Versions: 11.0
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi
Gradle before 4.10 was not able to run on Java 11.
Right now the default behavior is to work with the project provided wrapper if that is available.
So in case NetBeans is running on Java 11, but the Gradle Wrapper uses Gradle before 4.10 then the project cannot be loaded in NetBeans.
Right now there are two workarounds: Use NetBeans with some older Java or disable the "Prefer to use Gradle Wrapper that Comes with the Project" Setting in Tools > Options > Java > Gradle tab
The preferred way of handling this situation is when the Gradle Project Wrapper is not compatible with the JDK, then use the Gradle tooling that comes with the IDE.
The IDE might display a notification on this when encounters with this problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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