I have been struck with problem on my development box.
I have JRE6 on my system and NO ADMIN RIGHTS.
Used this command to add user variables
rundll32 sysdm.cpl,EditEnvironmentVariables
I have defined JAVA_HOME under user variables with proper path to my JRE
now when i check through by run>cmd>java-version
It says java is not recognized.
When i check the path by command echo %JAVA_HOME% it shows the path of my JRE.And i have tried checking the environment variables using
set >env.txt
The defined environment variable is present.
I am not able to investigate why JAVA is not recognized when I check in command prompt through java -version
.
Moreover my eclipse kepler does not opens up says there is no JRE or JDK available in C:\eclipse\jre\bin\javaw.x
Copied this file from JRE folder but that also did not helped in solving the issue.