Try with JDK 8 and it should be fine. Gj
On Sunday, March 11, 2018, 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 >> >
