Here is the director structor I am using to compile a java sourse
1- C:\src\b\A.java 2- C:\classes
when I use the following command to compile A.java I does not find it.
C:\>javac -sourcepath src -d classes A.java OR C:\>javac -sourcepath src -d classes b/A.java Why it can't find that source file? What I want is it to find source file using above position only, Means I don't want to go to src folder like this