This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271714 - Wrong command line without Ant message
Summary: Wrong command line without Ant message
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Java 9 MultiModule (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Balin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-27 14:19 UTC by brunyan
Modified: 2017-10-27 14:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brunyan 2017-10-27 14:19:51 UTC
I created a new Java modular project in Netbeans, added a package and a class Main.

When I make "Clean and Build", I receive this message in output:

To run this application from the command line without Ant, try:
C:\Program Files\Java\jdk-9.0.1/bin/java -modulepath C:\Projectos\java9\JavaModularApplication1\build\modules newpackage.Main

But there are no "-modulepath" and I only could run this project was with this command line:

C:\Program Files\Java\jdk-9.0.1/bin/java -p C:\Projectos\java9\JavaModularApplication1\build\modules -m newmodule/newpackage.Main

I was trying java9 and took me a lot to understand what was wrong