> I installed jdk1.3 and set the path as PATH=C:\JDK1.3.1\BIN; > when I try to compile my first program I get a message"error: can not read:HelloWorld.java > any suggestion? > :(
Sounds like the compiler didn't find the file. Check these things:
The file is indeed in the current directory (On Windows: "dir *.java", or on Linux/Unix: "ls *.java").
Make sure the case of the file name exactly matches what you are telling the compiler. If it is "helloworld.java" and you are specifying "HelloWorld.java" then the compiler won't find it. Of course, the public class name inside the file must exactly match the file's name, too.