title: getting old JRE version error in eclipse even when the new version is already installed
body: <p>I am new to Android Development.I installed Eclipse Kepler and then installed android SDK.
  but on restarting eclipse i get the message that <code>JRE installed is 1.6,newer version neeeded</code>.but when i tried to install the latest version through terminal it says newest version is already installed in the system.</p>
  
  <p>what i am doing wrong?</p>
  
  <p>thanks.</p>
  
  <p><strong>The error message window</strong></p>
  
  <p><img src="https://i.stack.imgur.com/W194C.png" alt="enter image description here"></p>
  
  <p><strong>And the following code when i tried to install the latest JRE 7.</strong></p>
  
  <pre><code>winnou@winnoupc10 ~ $  sudo apt-get install openjdk-7-jre
  [sudo] password for winnou: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  openjdk-7-jre is already the newest version.
  openjdk-7-jre set to manually installed.
  The following packages were automatically installed and are no longer required:
    language-pack-zh-hans language-pack-kde-en language-pack-kde-zh-hans language-pack-kde-en-base kde-l10n-engb kde-l10n-zhcn
    language-pack-zh-hans-base firefox-locale-zh-hans language-pack-kde-zh-hans-base
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 736 not upgraded.
  </code></pre>