G
gordon
newbie doubt..pls forgive
I have a .java file
org.mypackage.PathTest.java
in F:\my\code\src folder
I want to compile this file from another directory,say
E:\newdir.
I tried like this in command prompt
E:\newdir> javac org/mypackage/PathTest.java -sourcepath F:\my\code
\src
Still,it causes a file not found message like
file not found: org\mypackage\PathTest.java
Can someone tell me the correct usage
thanks
gordon
I have a .java file
org.mypackage.PathTest.java
in F:\my\code\src folder
I want to compile this file from another directory,say
E:\newdir.
I tried like this in command prompt
E:\newdir> javac org/mypackage/PathTest.java -sourcepath F:\my\code
\src
Still,it causes a file not found message like
file not found: org\mypackage\PathTest.java
Can someone tell me the correct usage
thanks
gordon