title: How to set jdk compiler compliance level to 10?
body: <p>I wish to compile my code with jdk 10 using eclipse IDE. For this I have added jdk-10.0.1 to installed jres and have selected that as my default </p>
  
  <p><img src="https://i.stack.imgur.com/mJ342.png" alt="jre 10">. </p>
  
  <p>But in the compiler compliance level I do not get 10 in the dropdown. If only I could download java 9 which is currently not possible I could have compiled the same using java 9. Also eclipse photon which is the latest one available does not have java 10 in the dropdown </p>
  
  <p><img src="https://i.stack.imgur.com/4aYut.png" alt="9 in the dropdown">. </p>
  
  <h2>Question</h2>
  
  <p>How can I compile my code using java 10 with eclipse, since we need an upgrade from java 8 to java 10.</p>
  
  <p><a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html" rel="nofollow noreferrer">Java 9 support not available</a></p>
  
  <p><a href="https://projects.eclipse.org/releases/photon" rel="nofollow noreferrer">Eclipse photon download link</a></p>