P
postvishal21
Flightless Bird
Hi,
I have an installed JDK on my Windows 7. I have to set PATH variable
%JAVA_HOME% .
I am trying to do that as follows :
Control Panel -> System and Security -> System -> Remote Settings ->
System Properties -> Advanced -> Environment Variables .
In the Environment Variables Window I am trying to add PATH Variable
for both 'User Variables' and 'System Variables'
I am providing Variable name and its value as follows :
Edit ->
Variable Name : JAVA_HOME
Variable Value : DProgram Files\Java\jdk1.6.0_20\bin
Press OK and then close all the Windows .
Start cmd windows to see if you can test the new PATH Variable.
CUsers\Vishal>
CUsers\Vishal>cd %JAVA_HOME%
CUsers\Vishal>
This shows that the PATH Variable %JAVA_HOME% is not set correctly.
On the other hand if you want to verify for pre-existing PATH
Variables for example %TMP% , it works
CUsers\Vishal>cd %TMP%
CUsers\Vishal\AppData\Local\Temp>
CUsers\Vishal\AppData\Local\Temp>
Let me know if any one has seen this issue earlier and if he/she knows
the solution.
BTW Same set of steps work fine on a Windows XP Machine.
Thanks and Regards,
Vishal
I have an installed JDK on my Windows 7. I have to set PATH variable
%JAVA_HOME% .
I am trying to do that as follows :
Control Panel -> System and Security -> System -> Remote Settings ->
System Properties -> Advanced -> Environment Variables .
In the Environment Variables Window I am trying to add PATH Variable
for both 'User Variables' and 'System Variables'
I am providing Variable name and its value as follows :
Edit ->
Variable Name : JAVA_HOME
Variable Value : DProgram Files\Java\jdk1.6.0_20\bin
Press OK and then close all the Windows .
Start cmd windows to see if you can test the new PATH Variable.
CUsers\Vishal>
CUsers\Vishal>cd %JAVA_HOME%
CUsers\Vishal>
This shows that the PATH Variable %JAVA_HOME% is not set correctly.
On the other hand if you want to verify for pre-existing PATH
Variables for example %TMP% , it works
CUsers\Vishal>cd %TMP%
CUsers\Vishal\AppData\Local\Temp>
CUsers\Vishal\AppData\Local\Temp>
Let me know if any one has seen this issue earlier and if he/she knows
the solution.
BTW Same set of steps work fine on a Windows XP Machine.
Thanks and Regards,
Vishal