i dont know wht r u trying to achieve!
but one thing i would like to clarify is that..
when u r compiling a java source code file the syntax to be used is javac
filename.java
when u r running the class file generated by compiling it, u have to use
java classname with no extension.
pls be elaborate as to wht u r trying to do.