title: launch4j bundled JRE error ."This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted"
body: <p>I am using launch4j for the first time and I get following  error. Here is launch4j error log.</p>
  
  <pre><code>Compiling resources
  Generated resource file...
  LANGUAGE 0, 1
  2 RCDATA BEGIN "1.5.0\0" END
  18 RCDATA BEGIN "1\0" END
  21 RCDATA BEGIN "http://java.com/download\0" END
  20 RCDATA BEGIN "32\0" END
  101 RCDATA BEGIN "An error occurred while starting the application.\0" END
  102 RCDATA BEGIN "This application was configured to use a 
  bundled Java Runtime Environment but the runtime is missing or corrupted.\0" END
  103 RCDATA BEGIN "This application requires a Java Runtime Environment\0" END
  104 RCDATA BEGIN "The registry refers to a nonexistent
  Java Runtime Environment installation or the runtime is corrupted.\0" END
  17 RCDATA BEGIN "true\0" END
  </code></pre>
  
  <p>and here is generated xml file</p>
  
  <pre><code>&lt;launch4jConfig&gt;
  &lt;dontWrapJar&gt;false&lt;/dontWrapJar&gt;
  &lt;headerType&gt;gui&lt;/headerType&gt;
  &lt;jar&gt;/DesktopApp/launch4j/applicationname.jar&lt;/jar&gt;
  &lt;outfile&gt;/DesktopApp/launch4j/applicationname.exe&lt;/outfile&gt;
  &lt;errTitle&gt;&lt;/errTitle&gt;
  &lt;cmdLine&gt;&lt;/cmdLine&gt;
  &lt;chdir&gt;&lt;/chdir&gt;
  &lt;priority&gt;normal&lt;/priority&gt;
  &lt;downloadUrl&gt;http://java.com/download&lt;/downloadUrl&gt;
  &lt;supportUrl&gt;&lt;/supportUrl&gt;
  &lt;stayAlive&gt;false&lt;/stayAlive&gt;
  &lt;manifest&gt;&lt;/manifest&gt;
  &lt;icon&gt;&lt;/icon&gt;
  &lt;jre&gt;
  &lt;path&gt;&lt;/path&gt;
  &lt;bundledJre64Bit&gt;false&lt;/bundledJre64Bit&gt;
  &lt;minVersion&gt;1.5.0&lt;/minVersion&gt;
  &lt;maxVersion&gt;&lt;/maxVersion&gt;
  &lt;jdkPreference&gt;preferJre&lt;/jdkPreference&gt;
  &lt;/jre&gt;
  &lt;/launch4jConfig&gt;
  </code></pre>
  
  <p>Your help will be very much appreciated.If there are alternative for launch4j then please tell me.</p>