title: IntelliJ compile for Java 7 JRE using Java 8 SDK
body: <p>I have the Java 8 SDK and runtime, and a project that is only using Java 7 features. I was wondering whether I could set up intellij to build a Java-7-level jar, something that is definitely possible from command line?</p>
  
  <p>So far, I have tried simply setting the project language level to 7 as an experiment, but that is obviously insufficient and not really what I need.</p>
  
  <p>I have also seen this question on SO: "<a href="https://stackoverflow.com/questions/18756469/intellij-idea-using-java7-compiler-to-compile-when-i-have-configured-it-to-use-j">Intellij IDEA using java7 compiler to compile when I have configured it to use Java6</a>", but my project SDK is already set up to the newest Java version, and I merely need a Java-7-compatible artifact/jar compilation.</p>
  
  <p>EDIT: I only have Java 6 and Java 8 JREs/SDKs on my local system because unfortunately Java 7 has issues on my system and is not compatible.</p>