4
votes
2answers
13k views

How can I make JDK 7 the default JDK in NetBeans?

I uninstalled JDK 1.6.26, then installed JDK 7 and changed my PATH to point to the new version. However when I now open NetBeans it shows me this error: Cannot locate java installation in ...