[
https://issues.apache.org/jira/browse/NETBEANS-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16356084#comment-16356084
]
Austin Stephens commented on NETBEANS-363:
------------------------------------------
You can work around this issue by putting the following into
DummyApp/nbproject/project.properties:
{code:java}
#netbeans is having issues finding java 9....
nbjdk.home=${java.home}
{code}
This appears to be related to Java 9 not having a tools.jar
> Cannot debug or run a NbPlatform Application in Java 9 if the IDE was started
> with Java 9
> -----------------------------------------------------------------------------------------
>
> Key: NETBEANS-363
> URL: https://issues.apache.org/jira/browse/NETBEANS-363
> Project: NetBeans
> Issue Type: Bug
> Components: java - Platform
> Environment: Mac
> Reporter: Austin Stephens
> Priority: Blocker
> Labels: PlatformSupport
> Attachments: DummyApp.zip
>
>
> The following output is from trying to run a platform application that was
> just created with not modules of its own:
>
> {code:java}
> platform.download:
> ant -f /Users/astephens/DEV/DummyApp run
> branding:
> Created dir: /Users/astephens/DEV/DummyApp/build/cluster
> Building jar:
> /Users/astephens/DEV/DummyApp/build/cluster/core/locale/core_dummyapp.jar
> Building jar:
> /Users/astephens/DEV/DummyApp/build/cluster/modules/locale/org-netbeans-core-windows_dummyapp.jar
> files-init:
> release:
> Created dir: /Users/astephens/DEV/DummyApp/build/cluster/config/Modules
> build:
> No sub-builds to iterate on
> run:
> run.run:
> Creating /Users/astephens/DEV/DummyApp/build/cluster/.lastModified
> Cannot find java. Please use the --jdkhome switch.
> Result: 2
> BUILD SUCCESSFUL (total time: 1 second)
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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