Error occurred during initialization of VM & java/lang/NoClassDefFoundError
ascertain:tcglive:~/BUILD/bin> ./listJobs
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
ascertain:tcglive:~/BUILD/bin> ./startJobServer -fg
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
We've been trying to get rmiregistry started but have noticed the following discrepancy on the server.
ascertain:tcglive:~> which java
/usr/bin/java
ascertain:tcglive:~> echo $JAVA_HOME
/usr/local/j2sdk1.4.2_03
There are conflicting versions of java on this box and even though 1.4.2 has been specified in $JAVA_HOME, the environment does not seem to recognise this:
ascertain:tcglive:~> java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)

