Freshly unpacked Netbeans 10 won’t run with either JDK 8 or 11 in PATH and JAVA_HOME.
- run netbeans with jdkhome parameter, pointing to your jdk-base folder, e.g.
netbeans64 --jdkhome c:\jdks\jdk11
- for a more permanent solution go to subfolder “etc” and open
netbeans.confsearch the line with
netbeans_jdkhomeand set the folder there (also uncomment/ remove hashsign) like so