Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using to install the 64-bit version of Oracle JDK 7 under Ubuntu 64-bit. Is there a way to tweak this mechanism to install the 32-bit JDK instead?

If not, how do I install a 32-bit Oracle JDK 7 under Ubuntu 64-bit?

share|improve this question
up vote 1 down vote accepted

It sounds like the second answer there would default to installing 64-bit Java (and it is a third-party tool so I doubt you could easily do much about that).

Just use the first answer with the 32-bit Oracle JDK 7. It is complicated, but it is the official Oracle way of doing it. You just need to make sure it stays updated manually (i.e. download and reinstall when a new release is out).

share|improve this answer
Best answer so far. I'll wait for alternatives, otherwise mark it as accepted. Thank you :) – Gili Jul 23 '13 at 23:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.