Cannot locate java installation in specified jdkhome

Asked By 90 points N/A Posted on -
qa-featured

Hello

I have been using netbeans for quite some time now but as you all know it requires java development kit (jdk) and runtime environment (jre), I have come across an error.

This error pops up even when java has been installed and netbeans is functioning properly.

The screenshot of the error is attached below:

Cannot locate java installation in specified jdkhome

The error says:

Invalid jdkhome specified

Cannot locate java installation in specified jdkhome:

C:Program Filesjavajdk1.6.0_13

Do you want to try to use the default version?

Can anyone please help me with this issue? I have tried my best, but I am not successful.

Your help is required in this regard.

Looking forward to your suggestions.

Kindest regards.

SHARE
Best Answer by George Stacy
Best Answer
Best Answer
Answered By 0 points N/A #153415

Cannot locate java installation in specified jdkhome

qa-featured

Hi Janis i searched for some solution for your problem hoping this helps to solve your problem.

1. Go to My Computer locate.

C:Program FilesNetBeans 7.0etc.

2. After getting the result find netbeans_jdkhome and then change it into like this one:

"netbeans_jdkhome=”C:Program FilesJavajdk1.6.0_25″

By doing those easy steps your netbeans now should be normal.

Hope that helps.

Answered By 0 points N/A #153416

Cannot locate java installation in specified jdkhome

qa-featured

The path for the program is not set and you are getting this error message. You can set the path for program to run it properly or install the software in location where it is showing and enjoy using the program.

 

Smith Thompson

 

Answered By 10 points N/A #153417

Cannot locate java installation in specified jdkhome

qa-featured

At first ensure that you install wither JDK 1.6 or 1.7.  Assuming that you have installed JDK under C:Program FilesJava, post installation change the JAVA_HOME and PATH environment variable to point to the correct installation locations.

 PATH = "%JAVA_HOME%bin" for Windows ((Append the value at the end of any existing value)

JAVA_HOME = “C:Program FilesJavajdk<version>”

Now install the Netbeans IDE and post installation find the location of the "netbeans.conf" file.

Edit the file and change the value of the netbeans_jdkhome ="C:Program FilesJava jdk<version>”

This should solve the problem. So at first clean your system before following the steps given above.

Login/Register to Answer

Related Questions