The problem is caused by spaces embedded in your JAVA_HOME. When I install the JDK on Windows, I redefine the installation location from a directory path that does not contain spaces. There are still an amazing amount of tools that cannot handle spaces.
In your particular case, the problem is related to inconsistency between _init.cmd and ohguide.cmd. In one place, they have double quotes around using OHJ_JAVA_HOME, and in the other case, they do not have double quotes.
But there is a solution - use the short name for the directory. You can find this name using the DIR / X command in the DOS window. For example, on my system, "C: \ Program Files" has the short name "C: \ Proga ~ 1". You can use this value when setting JAVA_HOME without quotes. eg.
set JAVA_HOME=c:\progra~1\java\jdk1.6.0_14
source share