U
undisclosed
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 : D:\Program 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.
C:\Users\Vishal>
C:\Users\Vishal>cd %JAVA_HOME%
C:\Users\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
C:\Users\Vishal>cd %TMP%
C:\Users\Vishal\AppData\Local\Temp>
C:\Users\Vishal\AppData\Local\Temp>
Let me know if any one has seen this issue earlier and if he/she know
the solution.
BTW Same set of steps work fine on a Windows XP Machine.
Thanks and Regards
Visha
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 : D:\Program 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.
C:\Users\Vishal>
C:\Users\Vishal>cd %JAVA_HOME%
C:\Users\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
C:\Users\Vishal>cd %TMP%
C:\Users\Vishal\AppData\Local\Temp>
C:\Users\Vishal\AppData\Local\Temp>
Let me know if any one has seen this issue earlier and if he/she know
the solution.
BTW Same set of steps work fine on a Windows XP Machine.
Thanks and Regards
Visha