On my 64 bit PC I have installed both 32 bit and 64 bit JRE(Java Runtime Environment). I have a java application. According to my requirements I need to find out which of the installed java (32 bit or 64 bit), my application is using ? Finding java version alone (example : 1.7, 1.8 etc.) is not enough. I need to find out which bit version of JRE (32 bit or 64 bit) my application is using ?
The same implementation I want to do in C# application. I mean I want to know from C# application that which bit version(32 or 64) any java application on same PC will use ?