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
Getting the following from the bit.ly-download-able binary, v1.1:
> java -jar ~/Downloads/cli-nbt-v1.1.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/gn32/apps/clinbt/Main : 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)
The text was updated successfully, but these errors were encountered:
"Unsupported major.minor version 51.0" indicates that the JVM doesn't support class version 51.0 (which is Java 7). Make sure that the Java you're using from terminal is the same one you see in the GUI. Do java -version to verify, and if in fact it isn't the same one, you have to specify the exact path to the java binary (somewhere likely in /Library/Java/Home, but make sure it's the Java 7 one).
Getting the following from the bit.ly-download-able binary, v1.1:
The text was updated successfully, but these errors were encountered: