I want to send a jar to some people for testing my software but I need that the jar is launched on a 32bit jvm. How can I verify automatically that the 32 bit jvm is installed and to be sure that the jar is launched with the right jvm?
I want to avoid to ask people to do all manually because they are not technical guys.
Can you help me?
******** SOLUTIONS ******
I have found two type of solutions that i want to share with you:
1) I have discovered that C:\Windows\SysWoW64 and C:\Windows\system32 contain the last installed version of the java.exe. So, ones could write a .bat that verifies which is the 32bit jvm for launching the code
2) Use the java code described in an other post for generating the proper .bat