How to Fix NetBeans jdkhome error

by

in

I use NetBeans as the IDE both in Linux and Windows environment. I like this NetBeans IDE very much. In my Windows PC Java Runtime Environment was updated recently. I am getting following error message when I start NetBeans.

“Cannot find java.exe in specified jdkhome.”

NeatBeans jdkhome error

If I click on yes it opens using default version of JRE. I fixed this error message today. Its a simple solution. Lets have a look into the solution.

1. Open NetBeans configuration file from NetBeans installation directory. (i.e. C:\Program Files\NetBeans 6.5\etc\netbeans.conf)

2. Set the configuration netbeans_jdkhome to the path of latest Java installed in your PC. (i.e. C:\Program Files\Java\jer1.6.6)

And you are done.


Comments

One response to “How to Fix NetBeans jdkhome error”

  1. Ricardo Morales Avatar
    Ricardo Morales

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.