Reputation: 1205
I have oracle' s JDK 7 installed alongside the Apple JDK6. The JDK 7 is registered in IntelliJ (12.x) and my project is set to JDK7.
I created a jetty run configuration, but it seems he is running the jetty server against the JDK6. Of course this gives a: org/eclipse/jetty/start/Main : Unsupported major.minor version 51.0 How can I fix this?
Upvotes: 1
Views: 1025
Reputation: 195
If the solution above doesn't work, try Run Configuration -> JRE -> Select Execution environment -> JavaSE-1.7
Upvotes: 0
Reputation: 1205
Under Project Settings > Project set the project SDK to the correct version.
Upvotes: 1