title: the import java.time cannot be resolved
body: <p>Hello I am using eclipse Mars and I have the following message error generated :</p>
  
  <pre><code>Caused by: java.lang.Error: Unresolved compilation problems
  The import java.time cannot be resolved
  LocalDateTime cannot be resolved to a type
  LocalDateTime cannot be resolved
  </code></pre>
  
  <p>I just would like to solve the problem I think I should use JDK 8 but i don't know to use it in eclipse.</p>