Reputation: 5563
Getting below exception while executing startup.sh for Tomcat. How is this caused and how can I solve it?
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I'm using RedHat Linux, tomcat version is 6.0.26
When I use java simply I face the same exception.
I set the JAVA_HOME and path varaible in /etc/profile as
JAVA_HOME=/usr/java/jdk1.6.0_30
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
Upvotes: 0
Views: 724