当运行任何 java 应用程序,或者仅仅是‘ java’时,jvm 会失败:
初始化 VM 时发生错误
Java/lang/NoClassDefFoundError: java/lang/Object
下面是 错了的答案列表:
正确的 Java 主目录(包括/bin 目录)位于全局 PATH 上
正确设置 JAVA _ HOME
执行命令 java-fullversion 可以工作
$ java -fullversion
./java full version "1.7.0_05-b05"
The symbolic links in /usr/java all point to the correct java installation
I did not install any 'default' java when I created the system
java -version
fails...same error as above
Issuing the commands from under the directory structure of the java installation does not work either
This is 64-bit java for a 64-bit
Any ideas?