M
markryde
Hello,
I have an x86_64 linux machine.
The java installed there is Sun java for linux (64 bit version- Linux
x64 Platform
- Java(TM) SE Development Kit 6)
I have a library (.so) which includes JNI calls.
This library was compiled on a 32 bit machine and I don't have it's
sources.
When running a jar in the usual way, if I try "LoadLibrary" on this
machine
from the java code I get an error.
Is there a way to run the jar in "32 bit mode" on this machine with
this
64 bit java ?
Which flag to the "java" command should I pass in order to achive this
?
Or is the only way to do this is install a 32 bit version of Java on
this
machine and run the jar from this 32 bit environment ?
Regards,
Mark
I have an x86_64 linux machine.
The java installed there is Sun java for linux (64 bit version- Linux
x64 Platform
- Java(TM) SE Development Kit 6)
I have a library (.so) which includes JNI calls.
This library was compiled on a 32 bit machine and I don't have it's
sources.
When running a jar in the usual way, if I try "LoadLibrary" on this
machine
from the java code I get an error.
Is there a way to run the jar in "32 bit mode" on this machine with
this
64 bit java ?
Which flag to the "java" command should I pass in order to achive this
?
Or is the only way to do this is install a 32 bit version of Java on
this
machine and run the jar from this 32 bit environment ?
Regards,
Mark