You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not execute the recent version of swagger-brake-2.4.0-cli.jar on windows.
I tried to go to https://www.java.com/download/ie_manual.jsp and download and install the recent Java runtime, but the error persists. Tried to restart the PC. No chance.
I am running the following command:
java -jar "..\..\Utils\SwaggerBrake\swagger-brake-2.3.0-cli.jar" --old-api=schema_old_live.json --new-api=schema.json --output-formats=HTML --output-path=.\
Exception in thread "main" java.lang.UnsupportedClassVersionError: io/redskap/swagger/brake/cli/SwaggerBrakeMain has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 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)
My java version is:
C:\Users\Admin>java -version
java version "1.8.0_391"
Java(TM) SE Runtime Environment (build 1.8.0_391-b13)
Java HotSpot(TM) Client VM (build 25.391-b13, mixed mode, sharing)
C:\Users\Admin>
Is there anything else needs to be done in order to fix it?
The text was updated successfully, but these errors were encountered:
I could not execute the recent version of
swagger-brake-2.4.0-cli.jar
on windows.I tried to go to https://www.java.com/download/ie_manual.jsp and download and install the recent Java runtime, but the error persists. Tried to restart the PC. No chance.
I am running the following command:
My java version is:
Is there anything else needs to be done in order to fix it?
The text was updated successfully, but these errors were encountered: