jdk1.5 compile error
Hello,
I am trying to install jdk1.5 and compile sample files, but after I installed jdk1.5 and set up classpath and path(this setting works in jdk1.4.2.06), I compile sample code Hello.java, I got the following errro,
D:\Example\javac Hello.java
error: error reading c:\j2se\bin\javac.exe; java.util.zip.ZipException: error in opening zip file
1 error
D:\Example
Dose anybody knows what happening,
Thank you,
Tony
Check this file c:\j2se\bin\javac.exe and make sure that it's part of Java 5 - not some other Java version.Is the PATH environment variable correctly set? - that is, does it point to the above directory, and should it?
Thank you ChuckBing,The jdk1.5 is come from Download JDK 5.0 Update 2, file is jdk-1_5_0_02-windows-i586-p.exe, I double click it and installed it on desktop, all classpath setting works for jdk1.4.2_06, I wonder what is different,Thank you Tony