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:
C:\Java\jdk1.5.0_19\bin\java.exe
D:\software\Java6\jdk1.6.0_31\bin\java.exe
D:\software\Java6\jdk1.6.0_31_64\bin\java.exe
D:\installedapp\jdk1.7.0_03\bin\java.exe
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?