tinyMediaManagerCMD.sh throws exception at start

Hi,

I’m running MacOS Sierra 10.12.3 with Java version 1.6.0_65.

When I try to start tinyMediaManager from the command line I get 2 error messages.
For example I change to the application directory and rund the script

Quote:# cd /Applications/Video/tinyMediaManager.app/Contents/Resources/Java
# ./tinyMediaManagerCMD.sh -updateTv

The first one is only minor and easily to avoid, as it’s only used to identify LinuxOS

Quote:expr: syntax error

However with the second one I’m not able to find a workaround, as it seems to be within the java code.

Quote:Exception in thread “main” java.lang.UnsupportedClassVersionError: org/tinymediamanager/TinyMediaManager : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
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)

Does anyone know how to fix that?

BR
Andreas