Unsupported major.minor version 52.0 while trying to run an exe file
<p>GP is a <code>.exe</code> file that I downloaded from <a href="https://github.com/martinpaljak/GlobalPlatformPro/releases" rel="nofollow">here</a>. When I'm trying to run it, I receive the following error:</p>

<pre><code>C:\GPP&gt; gp -list
Exception in thread "main" java.lang.UnsupportedClassVersionError: pro/javacard/gp/GPTool : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

C:\GPP&gt;
</code></pre>

<p>How can I handle it? Should I remove JRE and install a newer or older version?</p>

<p>My Current version:</p>

<pre><code>C:\GPP&gt; java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

C:\GPP&gt; javac -version
javac 1.7.0_21

C:\GPP&gt;
</code></pre>

<p>Is it possible to force Java use an specific major.minor version to run a program?</p>