Error while trying to record scenario in "gatling-charts-highcharts-2.0.0-RC4"

Hi all,

Downloaded latest release of gatling . “gatling-charts-highcharts-2.0.0-RC4”

When am trying to open the recorder from bin, getting this error:

GATLING_HOME is set to “D:\Softwares\Downloads\gatling-charts-highcharts-2.0.0-RC4”
Exception in thread “main” java.lang.UnsupportedClassVersionError: io/gatling/recorder/GatlingRecorder : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: io.gatling.recorder.GatlingRecorder. Program will exit.
Press any key to continue . . .

Please help in resolving this issue.

Thanks & Regards,
Ramya

Unsupported major.minor version 51.0 means the java program you’re using is compiled against JDK7 but you’re using an older version.

Indeed, Gatling requires at least JDK7u6: http://gatling.io/docs/2.0.0-RC4/general/operations.html#java-version