title: How to add java 8 to eclipse
body: <p>I've an old machine running Windows XP 32.</p>
  
  <p>Because Oracle dropped support for WXP 32 bits, I've manually installed the jdk following
  the awesome answer here:</p>
  
  <p><a href="https://stackoverflow.com/questions/20965564/installing-jdk8-on-windows-xp-advapi32-dll-error">installing JDK8 on Windows XP - advapi32.dll error</a></p>
  
  <p>I've however not added it yet to the JAVA_PATH, which is set to jdk 6. I don't know if it would harm or not to add it as well, but I want to be conservative here because a lot of programs in this machine need jdk 6. I don't want to break anything working now.</p>
  
  <p>I'd like to toy around in eclipse to test the new Java 8 features. I've manually added the new jre 8 in the "Installed JREs" section under window -> preferences. In the compiler combo, the highest level available is 1.7 (installed jdk7 some time ago, this time using the official installer, but I still keep java 6 as the default in the system). I don't see any option to add the new level.</p>
  
  <p>Consequently, when creating a new project using the new JRE, a warning is shown saying:</p>
  
  <blockquote>
    <p>The current workspace uses a 1.4 JRE with compiler compliance level
    1.6. This is not recommended and either the JRE or the compiler compliance level should be changed.</p>
  </blockquote>
  
  <p>Seems a problem derived from the manual installation of the JDK.</p>
  
  <p>I'm using Eclipse Kepler v4.3.1, but I have also tested this in older 3.x install with identical results.</p>
  
  <p>Any help will be appreciated.</p>