Hi ,
This is my first post!
I am having trouble using the sourcepath and classpath options in javac.
HelloWorld.java is in C:\Java.
If I go to C:\Java and use javac it compiles fine.
I am currently in the D:\Documents and Settings\Administrator directory. If I use
javac -classpath C:\Java HelloWorld.java
i am getting file not found : HelloWorld.java.
the same happens when I try javac -sourcepath C:\Java HelloWorld.java
but things work fine if I use the full path C:\Java\HelloWorld.java.
So, why isnt the classpath option working as it is supposed to?
thanks
Kevin