NetBeans “Cannot locate java installation in specified jdkhome”?

I came across this situation when I first installed Java 11 and tried with that, due to some reasons I uninstalled Java 11 (JDK 11) and faced the issue. If you are facing the same issue on NetBeans then in this blog you will find the best answer. This problem has arisen because right now…