This doesn't work
How can I replace %JAVA_HOME% with full path on windows 8 when path contains space ("program files" directory)
Have you tried it. Don't put everything in single line.
-vm C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe
If it doesn't work then please confirm you have added above lines before