IllegalMonitorStateException is thrown when using JDK1.1 or JDK1.2 and the JIT compiler
To workaround this problem, disable the JIT using the -nojit switch on the JDK1.1 command line, this option is not provided for JDK1.2 and requires that the JAVA_HOME/jre/bin/smycjit.dll file is removed, or renamed. The compiler will then fall back to intepreting mode.