title: Why cant I import java.time.ZonedDateTime into Eclipse?
body: <p>I have Java 8 installed and worked in my Eclipse project as far as I can tell. This line does not work though:</p>
  
  <pre><code>import java.time.ZonedDateTime;
  </code></pre>
  
  <p>I also can't seem to get:</p>
  
  <pre><code>import java.time;
  </code></pre>
  
  <p>to work either. </p>
  
  <p>It tells me this line cannot be resolved. I thought this was part of standard Java 8 library? Is there a place I am meant to go to download the JAR for the ZonedDateTime class or something?</p>
  
  <p>I'm making AWS Lambda functions in eclipse, if that matters. </p>
  
  <p>I went into the properties for the project and noted the compiler compliance level was set to 1.6, so I changed this to 1.8. now I get a warning that says: </p>
  
  <p>When selecting 1.8 compliance, make sure to have a compatible JRE installed and activated (currently 1.6). </p>
  
  <p>When I go to the link it provides for installed JREs i only see 1.6. How do I get and install the 1.8 JRE so that it will appear from this list as selectable?</p>