title: Compiling against Java 7 in JDeveloper 10
body: <p>Is it possible to use Java 7 in JDeveloper 10?</p>
  
  <p>I have an application that works correctly in Java 5. I've updated the java.conf file to point to the Java 7 jdk, and I've changed the project properties to use the same Java 7 J2SE. When I try to compile, however, I get many errors similar to those below:</p>
  
  <pre><code>Error: class format error: Object.class on classpath C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\rt.jar/java/lang/Object.class
  Error: Object not found 
  Error: class format error: Class.class on classpath C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\rt.jar/java/lang/Class.class
  Error: Class not found 
  Error: class format error: String.class on classpath C:\Program Files (x86)\Java\jdk1.7.0_40\jre\lib\rt.jar/java/lang/String.class
  Error: String not found 
  </code></pre>
  
  <p>It seems to be choking on the java definitions themselves. I'm hoping I'm just missing a step somewhere.</p>
  
  <p>Also, upgrading to a later version of JDeveloper is not an option. JDeveloper 12, as far as I've been able to tell, will not deploy to an OC4J instance. </p>