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

NetBeans Platform Application only compiles with default JDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.0, 11.1, 11.2
    • None
    • apisupport - Harness
    • None
    • Windows 10

    Description

      I created from scratch a simple NetBeans Platform Application with a single module and I would like to use a Java Platform different than the default one, but I can't because I got this error while building the application:

      module.taskdefs:
      module.common-init:
      Warning: nbjdk.active=OpenJDK13 or nbjdk.home=D:\Java\OpenJDK\jdk-13.0.1 is an invalid Java platform; ignoring and using D:\Java\OpenJDK
      module.projectized-common.basic-init:
      module.basic-init:
      

      I'm launching NetBeans IDE with Oracle JDK 13 (default JDK) but I would like to compile and run with OpenJDK 13 (which I properly configured in Tools->Java Platforms).

      I checked and this bug is present in NB 11.0, 11.1 and 11.2-beta3 as well

      Attachments

        Activity

          People

            Unassigned Unassigned
            matteodg@infinito.it matteodg
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: