title: Windows JAVA HOME problems
body: <p>I'm trying to experiment with OracleHelp for Java on my Windows Vista server. I downloaded Oracle help, and I'm following their installation instructions which states:</p>
  
  <ul>
  <li>Unzip the OHJ installation .zip file into a directory of your choice</li>
  <li>Ensure that you have the JAVA_HOME environment variable set to the location of your compatible Java SE installation</li>
  <li><p>In the OHJ installation directory, there is a bin subdirectory containing Windows .cmd files and Unix/Linux shell scripts. On Windows platforms, double click on the .cmd files to launch them (or type the .cmd file name on the command line). On Unix platforms, type "sh scriptName.sh" to execute the shell scripts.</p>
  
  <ul>
  <li>ohguide.cmd (ohguide.sh) - launches the Oracle Help Guide documentation</li>
  <li>choiceDemo.cmd (choiceDemo.sh) - launches a demo of Oracle Help features</li>
  <li>cshDemo.cmd (cshDemo.sh) - launches a demo of context sensitive help</li>
  <li>helpsetDemo.cmd (helpsetDemo.sh) - launches the Helpset Previewer for testing your helpsets</li>
  <li>authoringWizard.cmd (authoringWizard.bat) - launches the Helpset Authoring Wizard</li>
  </ul></li>
  </ul>
  
  <p>When I set JAVA_HOME on windows I can set it with or without quotes.  Either way fails :</p>
  
  <h1>with quotes:</h1>
  
  <pre><code>C:\Users\Amir\Desktop\ohj-5_0_0_433\ohj-5_0_0_433\bin&gt;set JAVA_HOME="C:\Program
  Files (x86)\Java\jdk1.6.0_14"
  C:\Users\Amir\Desktop\ohj-5_0_0_433\ohj-5_0_0_433\bin&gt;ohguide.cmd
  C:\Users\Amir\Desktop\ohj-5_0_0_433\ohj-5_0_0_433&gt;""C:\Program Files (x86)\Java\
  jdk1.6.0_14"\bin\java.exe" -classpath "ohj.jar;help-share.jar;oracle_ice.jar;jew
  t.jar;share.jar;help-demo.jar" oracle.help.demo.ChoiceDemo "demodoc\ohguide\ohgu
  ide.hs"
  '""C:\Program' is not recognized as an internal or external command,
  operable program or batch file.
  </code></pre>
  
  <h1>without quotes:</h1>
  
  <p>C:\Users\Amir\Desktop\ohj-5_0_0_433\ohj-5_0_0_433\bin>set JAVA_HOME=C:\Prog
  iles (x86)\Java\jdk1.6.0_14</p>
  
  <p>C:\Users\Amir\Desktop\ohj-5_0_0_433\ohj-5_0_0_433\bin>ohguide.cmd
  'Files' is not recognized as an internal or external command,
  operable program or batch file.
  No Java Virtual Machine found; please set JAVA_HOME environment variable.</p>