Is there any way to install 32 bit JDK on 64 bit Ubuntu 12.04? I installed 64 bit versions of java (jdk-jdk6) on Ubuntu, but when I do those steps (I have applied for 64 bit versions of java) to 32 bit JDK and type
java -version
it gives me a No such file or directory error.

jdk-jdk6package. Assumingopenjdk-6-jdkwas meant, which has architectureamd64if installed from the official repositories. What is meant by "I have applied for 64 bit versions of java"? – l0b0 Oct 2 '12 at 18:21