title: Environment variable not working for 64 bit alone
body: <p>I am using Windows10 64 bit , I have installed Java (JRE 64 bit &amp; JDK 64 bit) in my machine.
  I have file located in <code>C:\Users\User_Name\Desktop\Hello.Class</code> 
  but when I run my program using command <code>java Hello</code>.</p>
  
  <p>I get the error message <code>Error: Could not find or load main class Hello</code></p>
  
  <p>Whereas when i install Java 32 bit , its working fine. The Problem occurs only for my Java 64 bit </p>
  
  <p>The Environment variable configuration for Java 64 bit is as follows: </p>
  
  <p><a href="https://i.stack.imgur.com/uI3Jv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uI3Jv.png" alt="enter image description here"></a></p>
  
  <p>I have tried various solutions , none of them worked out . Please suggest any solution.</p>