You need to tell the OS where the javac command is located. One way is to use the full path:
D:\Java\jdk1.7.0.7\bin\javac.exe -cp . -Xlint Some.java

Another is to set the environment PATH...