title: 64-bit java acting like 32-bit Java after installing Java 8 Update 20 - Weird
body: <p>I tried to install <code>Aptana Studio 3</code> on my laptop, but after installation, it gave me the error <code>"Could not load the JNI shared library ... "</code> when I tried to run it. A google search told me that it needed <code>32-bit Java</code> installation. Since my installation is 64-bit, I was sure it would not work. I did not try again. Just then a pop-up came that there was a new update of java available for my system, <code>Java 8 Update 20</code>. Previously I was on <code>Java 8 update 11</code>. I did the update and then a restart. After that, I tried running the Aptana Studio 3 once more, and to my surprise it was working perfectly.</p>
  
  <p>But then I came onto a doubt and tried to run <code>Eclipse</code> (mine is 64-bit) and I was shown the problem <code>"Java was started and returned with exit code=13"</code>, which a google search told me that I was trying to run 64-bit eclipse on a 32-bit Java installation. So I did a <code>"java -version"</code> and it is now showing me I have a 32-bit Java installation.</p>
  
  <p>All these happened in 10 minutes. I mean I was using Eclipse this morning before the update.</p>
  
  <p>I never knew this could even happen. I regularly use Eclipse and I know I have a <code>64-bit Java</code> installed, and the PATH is also set correctly.</p>
  
  <p>I have no idea what is going on, but I need my Eclipse to be up and running, I am in the middle of my android application project, and now I have no clue. Please help!</p>
  
  <p>OS : Windows 7 Ultimate Service Pack 1 64-bit</p>
  
  <p>I am attaching two screenshots.</p>
  
  <p><img src="https://i.stack.imgur.com/qFoX6.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/pY8AT.jpg" alt="enter image description here"></p>