For normal development I'm using the 64-bit VM which comes when I install the Java development kit (OpenJDK) with the package manager.
But there are some Java applications (containing native libraries, I suppose) which don't work on a 64 bit Java VM. (Looks like SoapUI is such a candidate - in version 4.0.1 and 4.5 beta 1, it fails with a segmentation fault if run in a 64 bit VM.)
I tried to install the i386-version of openjdk-6-jre in addition to the 64-bit one, but this is refused by aptitude (saying that it conflicts with the existing 64-bit version). The same happens if I try to install openjdk-jre-7 in the 32-bit version.
An answer to Can I run a Java 32-bit application on a 64bit system proposed to install ia32-sun-java6-bin
, but there is no package with this name (or anything with ia32
and Java).
What could I do here to run SoapUI without switching my whole system Java installation to 32 bit?