FULL PRODUCT VERSION :
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 5.2.3790]
A DESCRIPTION OF THE PROBLEM :
Installer of JRE for Windows XP Professional x64 Edition (64 bit Windows) does not set the PATH environment variable or do equivalent operqation so that for example java.exe would be accessible from command line. In JRE's for 32 bit Windows version perform this correctly.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install JRE to Windows XP Professional x64 Edition.
The installer of JRE does not set the PATH environment variable or do other operation correctly so that for example java.exe would be accessible from command line.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
That after starting cmd I could type java and it would be accessible trhough path environment variable, for example:
C:\>java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)
ACTUAL -
C:\>java
'java' is not recognized as an internal or external command,
operable program or batch file.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
C:\>java
'java' is not recognized as an internal or external command,
operable program or batch file.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Set the PATH environment variable manually: Start > Control Panel > System > Advanced > Environment Variables > User Variables for xxx > path
or
Start > Control Panel > System > Advanced > Environment Variables > System Variables > Path