Originally posted by Prabhu venkatachalam:
javac -d . HelloImpl.java
In this "." refers to current directory and you are telling compiler that HelloImpl.java is in current directory. But it isn't.
Just to avoid confusion for any other newbies reading this at a later date, the '-d .' has nothing to do with the location of the source files. It specifies where the class files will be created.
The location of source files is specified with the -classpath option.
[ November 17, 2006: Message edited by: Joanne Neal ]