title: FitNesse Trying to Run the Wrong Version of Java
body: <p>I've just downloaded FitNesse and am trying to run it on Windows 8.1 with Java 1.8.0_101 installed.  The wiki runs up but when I click the Test button I get an error message:</p>
  
  <blockquote>
    <p>Could not complete testing: java.io.IOException: Cannot run program ""C:\Program Files (x86)\Java\jre1.8.0_71\bin\java"": CreateProcess error=2, The system cannot find the file specified</p>
  </blockquote>
  
  <p>There is no jre1.8.0_71 folder in C:\Program Files (x86)\Java, only a jre1.8.0_101 folder.  How do I configure FitNesse to point to the correct location?</p>
  
  <p>I've had a look at the shortcut at C:\ProgramData\Oracle\Java\javapath\java.exe (where the java.exe file is actually the shortcut) and that points to the correct jre1.8.0_101 folder.  I found a blog post that suggested adding C:\Program Files (x86)\Java\jre1.8.0_71\bin\ to the PATH environment variable.  That didn't work.  The Configuration File section under the FitNesse documentation seems to be able configuring tests and so-on, and doesn't seem to include how to configure the version of Java to use.  I'm stumped.</p>
  
  <p><strong>EDIT:</strong> This is what I get when I run up FitNesse from the command line:</p>
  
  <blockquote>
    <p>C:\ManuallyInstalledApplications\Fitnesse>java.exe<br>
    -version:"1.8.0_101" -jar fitnesse-standalone.jar -p 8090<br>
    Aug 18, 2016 11:22:23 PM fitnesse.ConfigurationParameter loadProperties INFO: <br/>
    No configuration file found (C:\ManuallyInstalledApplications\Fitnesse\plugins.properties)<br>
    Bootstrapping FitNesse, the fully integrated standalone wiki and<br>
    acceptance testing framework.<br>
    root page: fitnesse.wiki.fs.FileSystemPage at .\FitNesseRoot#latest<br>
    logger: none<br>
    authenticator: fitnesse.authentication.PromiscuousAuthenticator page<br>
    factory: fitnesse.html.template.PageFactory page theme: bootstrap<br>
    Starting FitNesse on port: 8090  </p>
  </blockquote>