$ java -jar ./google-closure-stylesheets/stylesheets.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/common/css/compiler/commandline/ClosureCommandLineCompiler : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:803) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:442) at java.net.URLClassLoader.access$100(URLClassLoader.java:64) at java.net.URLClassLoader$1.run(URLClassLoader.java:354) at java.net.URLClassLoader$1.run(URLClassLoader.java:348) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:347) 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)
Debian8でOracleJDK 8を使う方法
backportsからOpenJDK 8をインストールする方法
1 2 3 4 5 6 7
$ cat /etc/apt/sources.list
// 末尾に追加 deb http://deb.debian.org/debian jessie-backports main