Problems running SS in Linux...
Hi,
I copied all my SS installation from a mac to a Linux box and when trying to run SS in the command-line only Linux I get:
/usr/bin/java -jar screen-scraper.jar -s "Test"
Exception in thread "main" java.lang.NoClassDefFoundError: com/incors/plaf/kunststoff/themes/KunststoffDesktopTheme
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2688)
at java.lang.Class.getMethod0(Class.java:2937)
at java.lang.Class.getMethod(Class.java:1771)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: com.incors.plaf.kunststoff.themes.KunststoffDesktopTheme
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
Exception in thread "main" java.lang.NoClassDefFoundError: com/incors/plaf/kunststoff/themes/KunststoffDesktopTheme
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2688)
at java.lang.Class.getMethod0(Class.java:2937)
at java.lang.Class.getMethod(Class.java:1771)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: com.incors.plaf.kunststoff.themes.KunststoffDesktopTheme
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
Any idea what might be the problem?
Cheers,
Boga
I would not expect you to be
I would not expect you to be able to move the installation and have it work. You wound need to install on Linux with the installer.
it's for a Raspberry Pi
it's for a Raspberry Pi (Raspbian) so the Linux installer doesn't work because it is not made for the Pi's architecture.
I used to make it work in previous Pis before like this(copying whole folder from osx)
I just don't know why it's not working now and what that error means?
nevermind. I found that in
nevermind.
I found that in the copy operation, a lot of the files had not been copied for some reason
it works now