title: Java path..Error of jvm.cfg
body: <p>Can anyone please tell me why I get the following error when I try to run my Java programs? The programs get compiled successfully but are not able to be run.  I have already set the path of Java.</p>
  
  <pre><code>C:\JavaServ&gt;javac hello1.java
  C:\JavaServ&gt;java hello1
  Error: could not open C:\Program Files\Java\jre6\lib\amd64\jvm.cfg
  </code></pre>