FileBot & Xubuntu 12.04:Unsupported major.minor version 52.0
Posted: Fri Jan 08, 2016 4:01 am
Trying to run "FileBot" on Xubuntu 12.04 (64bit).
Throws the following error message:
On Ubuntu, you can install it from the OpenJDK-PPA though:
http://ubuntuhandbook.org/index.php/201 ... 12-04-lts/
Copying from the tutorial:
Now, if everything went correctly, checking the java version:
Should return something like this:
Throws the following error message:
Seems to be a common issue - because some LTS Distros (like Ubuntu Precise, etc) don't run Java8 yet.Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/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)
On Ubuntu, you can install it from the OpenJDK-PPA though:
http://ubuntuhandbook.org/index.php/201 ... 12-04-lts/
Copying from the tutorial:
Code: Select all
$ sudo add-apt-repository ppa:openjdk-r/ppa
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
$ sudo update-alternatives --config java
Code: Select all
$ java -version
Filebot now runs fineopenjdk version "1.8.0_72-internal"
OpenJDK Runtime Environment (build 1.8.0_72-internal-b05)
OpenJDK 64-Bit Server VM (build 25.72-b05, mixed mode)