Originally posted by Renuka Kilambi:
Hi all,
I am a total novice in java. Recently I installed jdk 2 version 1.3 on my system and set the path etc. When I am trying to complile a sample program using javac filename.java, "error reading the file" is coming. I checked the path. everything is fine.If I give full path and then type javac ...., then it is compiling. Could anyone tell me what the problem is? Thanks in advance
Regards
renu
Try this, someone else had the same problem the other day:
When you type: SET CLASSPATH=.;C
you MUST, and this is very important, put a period "." before the ";" and then type your path in AutoExec.bat. So, after the = sign type a period, then a ;, then your path.
That should work.