title: How to reconfigure eclipse to use a 64 bit JVM
body: <p>I'm using eclipse on what I thought were all 64 bit runtime environments. The current settings Java>installed JREs and Execution Environment all point to jdk1.6.0_30 which is a 64 bit version of the JDK. However, eclipse still thinks it's running a 32 bit version because when I run: </p>
  
  <blockquote>
    <p>System.getProperty("sun.arch.data.model");  </p>
  </blockquote>
  
  <p>it returns 32 instead of 64.  </p>
  
  <p>And the external JNI resource that I compiled for 64 bit machines will not link to the shared .so file unless it's running in a 64 bit enviroment. (I'm getting word size mismatch errors when I try to do this)</p>
  
  <p>So How can I reconfigure eclipse to run 64 bit jvm.  Does eclipse itself have to be a 64 bit version? </p>
  
  <p>:on linux </p>
  
  <p><strong>Edit:</strong> I have tried everyone's suggestions and nothing is working. I've changed the execution, and enviroment variables to point to the newst JDK I have which is 1.6_30. when I run the program from a command line I get 64 and amd64 as the value when I run the same program in eclise I get 32 and i386. Something is wrong in eclipse that is causing it to try and run it on a 32 bit JVM. when I try java -d32 -version it says that a 32 bit enviroment isn't installed but Eclipse doesn't know that. I've modified the Eclipse.ini file and still nothing is working. I've restarted eclipse after these changes...nothing. Can some one who knows eclipse well people help me out here. thanks</p>