I installed a new jdk 1.6 parallel to that existing 1.5, however I got this error when I run the java binary.
./java -version Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
I already set my PATH variable to include the new jdk bin directory.