title: java installation issue
body: <p>I am not sure what is missing here.  I have installed the java and this is how it looks
  <code>C:\Program Files\Java</code>
  under that folder I have two folders one is <code>jre</code> and one is <code>jdk1.6.0_30</code></p>
  
  <p>Now here is what my classpath and also java home looks like </p>
  
  <pre><code> C:\Perl64\site\bin;C:\Perl64\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system3
   2;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0
   \;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Program
   Files\TortoiseSVN\bin;C:\maven\3.0\bin;C:\Program Files (x86)\QuickTime\QTSystem
   \:C:\Users\sgudla\Desktop\jad158g.win;C:\Program Files (x86)\QuickTime\QTSystem\
  **;C:\Program Files\Java\jdk1.6.0_30\bin;C:\Program Files\Java\jdk1.6.0_30\jre\bin**
  </code></pre>
  
  <p>and the java home looks like the following
      <strong>C:\Program Files\Java\jdk1.6.0_30</strong></p>
  
  <p>and the class path looks like the following</p>
  
  <pre><code>C:\&gt;echo %CLASSPATH%
  C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip**;C:\Program Files\Java\jdk1.6
  .0_30\bin;C:\Program Files\Java\jdk1.6.0_30\lib**
  </code></pre>
  
  <p>When I run java in my terminal it gives me the following error</p>
  
  <pre><code>C:\&gt;java
  Error occurred during initialization of VM
  java/lang/NoClassDefFoundError: java/lang/Object
  </code></pre>
  
  <p>But when I do javac it works fine.  All it has to get is the java.exe file and also javac.exe in the path. I have pointed to jdk bin where the java.exe is.  I'm not sure what I am missing here.  Can some one help me out on this?</p>
  
  <p>Thanks a lot for the answers ..I have just deleted the java.exe file from c:\system\windows 32
  that solved the whole issue not sure what was that for though..
  Now i am trying to open my eclipse </p>
  
  <p>I am trying to open Eclipse here is what my eclipse.inf file looks like</p>
  
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
  --launcher.library
  plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v20100503
  -product
  org.eclipse.epp.package.jee.product
  --launcher.defaultAction
  openFile
  --launcher.XXMaxPermSize
  256M
  -showsplash
  org.eclipse.platform
  --launcher.XXMaxPermSize
  256m
  --launcher.defaultAction
  openFile
  -vmargs
  -Dosgi.requiredJavaVersion=1.5
  -Xms512m
  -Xmx1024m 
  </code></pre>
  
  <p>Now when i open my eclipse i get the following error
  java was started but terminated with exit code 1</p>
  
  <p>Not sure again why it is failing..
  Any one has any idea..
  Thanks,
  Swati</p>