Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This the error message i am receiving is:

The environment variable JAVA_HOME(With the value of C:\ProgramFiles/Java/j.d.k.1.7.0_11/bin) doe not point to a valid JVM Installation.

My query is that i have installed JVM and i even run some of my java codes using notepad and cmd.

Someone kindly aid me out on what the problem might be!!!!
Posted

1 solution

On my device the actual path for Java SDK (Java Development Kit as the name suggests) is,

C:\Program Files\Java\jdk1.8.0_45\bin


Note the space in between Program and Files (Program<space>Files) and there is no period sign in between (JDK) in your case there is. Try changing this and it would work. Most specifically, you just need to provide the location of your SDK's installation folder where application would look for binaries to run their applications.

It is best recommended in that location, but can be installed at other locations also, just select the location where it is present and enter that (all the way from C or D to the final folder) in the value for that variable.

For example, see this image: http://s14.postimg.org/ql9wnmq8x/Screenshot_85.png[^]

A few other tips: Make sure there were no interruptions while installation. Also, make sure that there is no ambiguity in between 32 bit or 64 bit OS. There are two folders (FYI), Program Files and Program Files (x86). Make sure you chose the correct one.
 
Share this answer
 
v2
Comments
anaQata 12-Aug-15 4:03am    
@AfzaalAhmadZeeshan i installed it successfully. I was actually using a 32 bit JDK on a 64 bit O.S.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900