You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "matteodg (Jira)" <ji...@apache.org> on 2019/10/22 22:41:00 UTC

[jira] [Created] (NETBEANS-3278) NetBeans Platform Application only compiles with default JDK

matteodg created NETBEANS-3278:
----------------------------------

             Summary: NetBeans Platform Application only compiles with default JDK
                 Key: NETBEANS-3278
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3278
             Project: NetBeans
          Issue Type: Bug
          Components: apisupport - Harness
    Affects Versions: 11.1, 11.0, 11.2
         Environment: Windows 10
            Reporter: matteodg


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:
{noformat}
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:
{noformat}
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



--
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