open file
c:\program files\netbeans-xx.x\netbeans\etc\netbeans.conf
edit line
netbeans_jdkhome="C:\Program Files\Java\jdk-17.0.1"
Keep document that easy to find
open file
c:\program files\netbeans-xx.x\netbeans\etc\netbeans.conf
edit line
netbeans_jdkhome="C:\Program Files\Java\jdk-17.0.1"