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.
NetBeans jdk9 branch build on Windows 7, running on JDK8, JDK9 EA b112 used as project Java Platform. Ant 1.9.7 added as external Ant to NetBeans. Compile works, but Run and debug ends with following exception: java.lang.module.ResolutionException: Module Modular1\pkg.Modular1 not found at java.lang.module.Resolver.fail(java.base@9-ea/Resolver.java:796) at java.lang.module.Resolver.resolveRequires(java.base@9-ea/Resolver.java:94) at java.lang.module.Configuration.resolveRequiresAndUses(java.base@9-ea/Configuration.java:344) at jdk.internal.module.ModuleBootstrap.boot(java.base@9-ea/ModuleBootstrap.java:217) at java.lang.System.initPhase2(java.base@9-ea/System.java:1916) This is windows specific bug which needs to be fixed in NB 9 in build-impl.xsl to fully work with Ant 1.9.7 which already supports JDK9 java and javac tasks.
Fixed by using ant 1.9.7 http://hg.netbeans.org/jet-main/rev/c687a35ac4d7 http://hg.netbeans.org/jet-main/rev/b110ffffb0ca