Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object

fish40 picture fish40 · Mar 8, 2012 · Viewed 7.3k times · Source

I am trying install SmartFoxServer 2X in ubuntu, but during installation I have this error

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object

Answer

John Zantey picture John Zantey · Apr 4, 2012

I had the same issue on my Debian Squeeze install. something to do with the supplied jre... i changed the startup scripts to point to my installed $JAVA_HOME/jre