title: Need to use two Java versions in one machine
body: <p>My application will support only java 1.6 version and I need to execute all test cases using java 1.7 compiled class files code.</p>
  
  <p>My question how to reach above requirement...</p>
  
  <ol>
  <li>Is it possible to install both java 1.6 and java 1.7 versions in my machine?</li>
  <li>If possible how can i set java 1.6 path for my application and how i can set path for java 1.7 version to execute test cases using java 1.7 compile files.</li>
  </ol>
  
  <p>Application will not open with Java 1.7, but I need to use java 1.7 compiled files only.</p>