so I have some 3rd party native library that works only in 32 bit JVM across windows,osx,linux and I need to always enforce the java application to run in 32 bit JVM mode.
No.
The preconditions that you specified prohibit (okay, I'm precluding the bundle-the-JVM solution and install-the-JVM solution) the application from running in a 32-bit JRE. If you want to run your application in a 32-bit JVM, and your third party native library is only available as a 32-bit DLL, then you must use a 32-bit JVM. A 64-bit JVM cannot load the 32-bit library; there is no 32-bit mode to load such libraries.
Solutions include:
With Java 6, no. With Java 7+, yes.
Use -d32 with Java 7
possible to force a 64-bit JVM to use 32-bit mode via the argument “-d32”?
As there is no such argument to the java
command, the answer is obviously 'no'.