The platform does in fact run on JDK 9. The IDE is built on top of that after all, so if that doesn't work the IDE wouldn't run either.
So I just created a brand new platform application, using IDE 9.0 beta with JDK 9.0.4. What didn't work out of the box was running it on the default platform used by the IDE. But when I added the JDK 9 as a seperate Java platform, and ran it using that, the platform app started up without any issue. ~ Hermien On Sun, Mar 11, 2018 at 10:44 AM, Geertjan Wielenga < [email protected]> wrote: > NetBeans Platform does not support JDK 9 at this point. > > Gj > > On Sunday, March 11, 2018, Tushar Joshi <[email protected]> wrote: > > > Hi All, > > > > I tried creating a NetBeans Platform Application and Run it from the Run > > menu. It does not start with the following error > > > > run.run: > > Cannot find java. Please use the --jdkhome switch. > > Result: 2 > > BUILD SUCCESSFUL (total time: 0 seconds) > > > > I have Jdk9 installed and I have tried both the configuration options in > > NetBeans conf file as below > > > > #netbeans_jdkhome="/path/to/jdk" > > netbeans_jdkhome="/Library/Java/Home" > > > > I also tried to add the jdkhome property to various properties files in > the > > NetBeans Application project created. It still show the same error. > > > > What am I missing. > > > > One more thing this application is expected to run out of the box and > hence > > we need either better documentation of what needs to be done or fix this > > bug. > > > > with regards > > Tushar > > >
