Sunday, July 12, 2009

C i had set the path in environmets in winxp then i wrote my prg in edit+ it my personal pc?

i had entered int cmd in that md java, cd java, then javac simple.java but error:cannot read :simple.java i created my fold in cdrive

C i had set the path in environmets in winxp then i wrote my prg in edit+ it my personal pc?
Looks like ur java path and classpath is fine.





You have created a new directory called java. Its ok but before compiling simple.java make sure that simple.java is saved in that directory.





This error occurs when the java file is not in that current directory.


No comments:

Post a Comment