I have installed JDK 32 bit as well as JDK 64 bit. I have 2 eclipse installations; Helios for Android and Indigo for Java EE. Now the problem is that when I set the class path for 32 bit Indigo is not working and when I set the path for 64 bit Helios is not working.
The error I get is:
failed to load the jni shared library
The problem is that you’re trying to load e.g. a 32 bit DLL using the 64 bit JVM, but a 32 bit JVM can only load 32 bit libraries and the other way around for a 64 bit JVM.
eclipse.iniand edit the-vmparameter to point to your correct JVM installation. So you need a 32 bit JVM installed parallel to the 64 bit JVM.