Invalid jdkhome specified – Cannot locate java installation in specified jdkhome:

You click the NetBeans IDE shortcut and got a message like below:

This is due NetBeans cannot locate java installation in specified jdkhome: C:\Program Files\Java\jdk1.6.0_22
Most probably you initially installed JDK at the default location above and then you uninstall it and reinstall to another location.

Anyway, to fix this, all you need to do is just go to find netbeans.conf from where you installed your NetBeans. For me, I have it at C:\Program Files\NetBeans 6.9.1\etc

Once found, open the file and look for something like below:

netbeans_jdkhome=”C:\Program Files\Java\jdk1.6.0_22″

Then, change the above to the valid path, example

netbeans_jdkhome=”C:\Java\jdk1.6.0_22″

That’s it!

Advertisement

6 Responses to “Invalid jdkhome specified – Cannot locate java installation in specified jdkhome:”

  1. Felipe Says:

    That’s it! Problem resolved! Thanks man!

  2. william Says:

    Wow it worked alright..!Thanks dude

  3. ardian Says:

    nice tutorial
    thanks

  4. anonymous Says:

    Thanks. it helped!

  5. Jaffar Says:

    Thanks steve

  6. findingsteve Says:

    You’re welcome! Glad it helps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.