I try the command line with JavaHome:
netbeans-trunk-nightly-201803230002-javase-windows.exe --javahome "C:\Program Files\Java\jdk-10"
It should work, but I receive a message:
There is no JRE at the specified location C:\Program Files\Java\jdk-10
Thanks!
Updated on July 31, 2018 to strikethrough obsolete information, and add details on the official release of NetBeans 9.
You are downloading NetBeans from Oracle's site, so you should have no expectation that even the nightly dev build will work with Java 10.
NetBeans is currently being handed over to Apache from Oracle, and there is a development build available for download from Apache in the form of a zip file from here:
https://builds.apache.org/job/incubator-netbeans-linux/
You can unzip that file on Linux, Mac or Windows and it will work with Java 10. Just be aware that it has not yet been formally released; that is a few weeks away.
You can check for bugs and/or report bugs here:
https://issues.apache.org/jira/projects/NETBEANS
UPDATE June 4, 2018
Apache NetBeans 9.0 RC1 was released on May 28. The source and the binary can be downloaded as zip files from here:
https://netbeans.apache.org/download/nb90/nb90-rc1.html
UPDATE July 31, 2018
Apache NetBeans 9.0 was released on July 29. The source and the binary can be downloaded as zip files from here:
https://netbeans.apache.org/download/nb90/nb90.html#_downloading
!!! IMPORTANT NOTE !!!
NetBeans 9 officially only supports Java SE which means:
However, it is a simple process to enable that functionality (at your own risk). See the answer to How to get Netbeans 9 to deploy a valid webapp on Tomcat for details.
For an explanation on why the plugins are not available by default see What's Happened to My Favorite NetBeans Plugins?.
For Windows you can install with NetBeans Extracted bundle :
Open cmd as Admin User
netbeans-XXX-windows.exe --extract
then run
java -jar bundle.jar
Netbeans won't work properly with jdk version 10. Install jdk 8u/17l and everything should go well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With