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.
Special Jigsaw build of NB dev with Jigsaw EA public build: Product Version = NetBeans Dev JDK9 branch (Build 20150918-951c25ccfea0) (#951c25ccfea0) Operating System = Linux version 3.16.0-44-generic running on amd64 Java; VM; Vendor = 1.9.0-ea; Java HotSpot(TM) 64-Bit Server VM 1.9.0-ea-jigsaw-nightly-h3337-20150908-b80; Oracle Corporation Create sample app ClientEditor, then build it, change source level to support one (e.g. 7). Build fails with error message in NB output window: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/home/mbalin/jigsaw_public"
Created attachment 156344 [details] Java cmd line arguments
I have seen the same error when I turned off Compile on Save and wanted to debug a sample AnagramGame project.
Unfortunately, I cannot reproduce the problem using the current Jigsaw build of NB. Is the issue still reproducible on your sources? Thanks.