关于java配置的问题
java版本为 j2sdk1.4.2_04path=C:\j2sdk1.4.2_04\bin
classpath=.;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\bin
java_home=C:\j2sdk1.4.2_04
cmd 后,输入命令java -version后,有版本的具体型号,java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
对helloworld进行编译。javac HelloWorld.java出现下列提示:
C:\Documents and Settings\Administrator>javac HelloWorld.java
error: cannot read: HelloWorld.java
1 error