## The System cannot find the path to java

I defined a path to javac.exe by going to control panel, system, advanced, environment variables, and I added the new system variable called javaP defined as C:\Program Files\Java\jdk1.7.0\bin

Then I opened a new command prompt, went to where my program is, and typed javaP\javac Factorial.java

The result was "The system cannot find the path specified."

Any ideas? I had tried entering the path without the pre-defined path and it wasn't happy with it I think because of the space after program and before files. It doesn't seem to be complaining about that now, but I don't see the problem.

Thanks!