sourcepath option returns javac: no source files
I'm using Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
on win xp SP2
I have folder structure as follows:
C:\temp\java\src\HelloWorld.java
C:\temp\java\src\com\trial\level\test\HelloWorld2.java
I'm trying to compile the files using sourcepath option but it seems it is not working, I'm using the following cmd command:
C:\temp\java>javac -sourcepath ./src -d ./classes -verbose
But getting this error:
C:\temp\java>javac -sourcepath ./src -d ./classes -verbose
javac: no source files
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:noneGenerate no debugging info
-g:{lines,vars,source}Generate only some debugging info
-nowarnGenerate no warnings
-verboseOutput messages about what the compiler is doing
-deprecationOutput source locations where deprecated APIs are used
-classpath <path> Specify where to find userclass files
-cp <path>Specify where to find userclass files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path>Override location of bootstrapclass files
-extdirs <dirs>Override location of installed extensions
-endorseddirs <dirs>Override location of endorsed standards path
-d <directory> Specify where to place generatedclass files
-encoding <encoding>Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generateclass filesfor specific VM version
-versionVersion information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag>Pass <flag> directly to the runtime system
javac: no source files
plz can anyone help as I have lots of classes & in lots of directories and sourcepath option is vital for me.

