Page 1 of 1

Java Error on Load

PostPosted: Sun Nov 06, 2011 3:09 am
by ironcross
I've been using Subsonic for quite awhile now. the other day though it stopped loading. I am running the 4.5 standalone version on Unraid 4.7. I now get the following error when trying to start subsonic.

Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: . Program will exit.

The subsonic_sh.log shows the following message:
/var/subsonic/standalone/subsonic_RAM.sh: line 127: -jar: command not found

Which corresponds to this line:
-jar subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &

I am running Java 6u27. Java is verified as running. No changes were made to setup prior to error arising. I have tried reloading both Java and Subsonic. Any insight is greatly appreciated.