线程中的异常 - Squirrel SQL Client

时间:2017-02-27 20:54:59

标签: java squirrel-sql

功能

Kali Linux

松鼠-SQL快照20170214_2214

openjdk version“1.8.0_121”

OpenJDK运行时环境(版本1.8.0_121-8u121-b13-3-b13)

OpenJDK 64位服务器VM(版本25.121-b13,混合模式)

错误:

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sourceforge/squirrel_sql/client/Main : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

1 个答案:

答案 0 :(得分:0)

我尝试编辑“/usr/local/squirrel-sql-snapshot-20170214_2214/squirrel-sql.sh”并将“IZPACK_JAVA_HOME = / usr / lib / jvm / java-7-openjdk-amd64 / jre”更改为IZPACK_JAVA_HOME = / usr / lib中/ JVM / JAVA -8-的openjdk-AMD64 / JRE。我认为这是一个需要调查的错误。