Campbell Ritchie wrote:I have added a warning to the FAQ against using a user JAVA_HOME and a system PATH.
Joydeep Ghatak wrote:
1. Put the path as: C:\Program Files\Java\jdk1.6.0_23\bin; [ I mean the complete path where JDK is installed in your machine] at the beginning of the PATH environment variable, instead of using through JAVA_HOME, initailly
2. Then open a new command prompt window to check the 'java' and 'javac' command.
3. Also please check the 'Java' version that you have downloaded is for 32 bit or 64 bit and what is the architecture of your machine.
4. Also as per your post, you have set the 'JAVA_HOME' as 'User variables' and PATH is present in 'System variables' section.
I am not sure if there is any specific reason for you to put 'JAVA_HOME' as 'User variables', but my suggestion will be to put both JAVA_HOME and PATH under 'System variables' section.