title: How to know the bit version of JDK that selected by user in a swing panel
body: <p>Our software has a swing panel that's used to list jdk installation paths. For example, if there are 4 jdk installed in user's PC and the jdk paths are listed in the panel:</p>
  
  <ol>
  <li><p>C:\Java\jdk1.5.0_19\bin\java.exe</p></li>
  <li><p>D:\software\Java6\jdk1.6.0_31\bin\java.exe</p></li>
  <li><p>D:\software\Java6\jdk1.6.0_31_64\bin\java.exe</p></li>
  <li><p>D:\installedapp\jdk1.7.0_03\bin\java.exe</p></li>
  </ol>
  
  <p>The user needs to pick one of jdk installation paths to install our software. We want to know the bit version (32bit or 64bit) of jdk picked by user, how can we do that?</p>