Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1970

Gradle projects are not loading on Java 11

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              lkishalmi Laszlo Kishalmi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m