java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
wst021 于 2010-10-28 16:06:17发表:
回楼上的,要是没有在环境变量里,配置JDK的相关变量,你在命令行下执行 java -version 只会显示系统默认安装的 JDK 版本或是 openJDK 的版本
java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
phpfun 于 2010-10-18 17:59:26发表:
看是否安装好了JDK,很简单 ,在命令行下输入 java -version, 如果显示 JAVA版本,即说明安装成功。