E:\\Code\\Java\\JNITest>java test
Exception in thread \"main\" java.lang.UnsatisfiedLinkError: E:\\Code\\Java\\JNITest\\test.dll: Can\'t load IA 32-bit .dll on a
The DLLs are run by the native OS. Java simply delegates the call to DLL which is very closely knit with the OS on which its compiled. In general you cannot do it in straightforwd way and here is way.
But there are workarounds like WOW64, which makes it possible. Please check out these links(1,2)