title: install4j installer is not picking the oracle-jdk path it take by default open-jdk in ubuntu
body: <p>I have installed open-jdk-7 and oracle-jdk-8 in Ubuntu 13.10 and i have set JAVA_HOME.
  when i tried with java -version give me oracle jdk path but when i m trying to install software in Ubuntu which is generated by the install4j.
  so that it is taking the open-jdk path. but open-jdk is not setting in the path variable.code is below for picking the dynamic jdk.</p>
  
  <pre><code>{
  JVMSelector.JVMLocation[] locations = JVMSelector.getJVMLocations("${compiler:sys.javaMinVersion}", "${compiler:sys.javaMaxVersion}", true, null);
  String  jdkHome = locations[ locations.length-1].getJavaHome().getAbsolutePath();
  }
  </code></pre>
  
  <p>i need to set the oracle jdk in install4j. what i am messing here ..?</p>