Netbeans 12.1 How to fix cannot locate java installation in specified jdkhome
The error message “cannot locate java installation in specified jdkhome” will appear if the Java JDK is not installed on your machine or if the JDK is installed in a different location than the location used by Netbeans.
To see how to install the Java JDK, you can see the following video : https://youtu.be/M5K-WnsIJP4