Executable jar exception

The jar is here http://www.java-gaming.org/topics/snake/37227/view.html
a snake game by “Omar” in the Showcase forum .
Forgive the dumb question , but double clicking the jar gives me “A java exception has occured” and launching it from the command line gives :
“Unsupported major.minor version 52.0”
I’m on Windos7 and SDK is Java 7.0 , that means that i have to download Java 8 ?
Thanks in advance

That’s exactly what it means - its compiled with/for Java 8 and needs to be executed with a Java 8 JVM

Although you would only need to install an Java 8 JRE and not the Java 8 JDK to execute it.

if you compile something with a jdk, you need at least that jdk to run it, even if you dont use any specific features.
however even if you have java 8 installed for example you can se your project to be a java 6 or 7 project.

You can compile for previous Java versions. Javac options -source and -version:

http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html

^ Awesome! Didn’t know that and sort of freaked when java deleted my previous installations when I finally got around to updating to JRE 8