Hello! I have a Raspberry Pi 3 running OSMC and I would like to have FileBot, but Java 8 isn’t in the official repos. I’m used to ArchLinux so I don’t know what’s the best way to install OpenJDK 8 here. Can anyone help me? I only find how to install Oracle version…
I assume Filebot is a GUI based tool, or?
So besides what @sam_nazarko writes about the jre you also would need to install the X11 solution that is discussed in another thread.
Filebot can be called with a set of command-line arguments directly from the console or in scripts.
I use it that way on my OSMC pi2. In fact the verbosity of the CLI can also help in figuring out why the more inscrutable GUI is failing to find your shows!
Hello! I can’t execute FileBot Portable :(. I downloaded FileBot Portable from here and extracted it. Executing filebot.sh I get this.
osmc@Pi-osmc:~/Filebot$ sh filebot.sh
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: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)
Can anyone help me? I think it’s a Java issue, it needs Java 8 and it seems it’s trying to execute FileBot with 7 as it’s said here. I’m not a Java developer, and I don’t find how to “force” java 8 execution. Anyone can help me?
Steps to reproduce:
Install default-jre-headless as @sam_nazarko said to me.
Download Filebot from here.
Extract and execute filebot.sh
Like the OP, I had some issues with installing Java 8 (required by FileBot) on a recent OSMC (2017-02).
As implicitly concluded above, the default-jre-headless package currently installs Java 7. So Jessie backports as suggested by sam_nazarko is a good solution. I’ll just add some detail.
To enable Jessie backports and make its contents available, do something like:
echo deb http://ftp.debian.org/debian jessie-backports main | sudo tee --append /etc/apt/sources.list
sudo apt-get update
To install the JRE package, there’s a special quirk: