Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 need to run 32bit sun-jdk on my 64bit ubuntu. I downloaded JDK and when run I get

java.lang.UnsatisfiedLinkError: /opt/java/32/jdk1.6.0_31/jre/lib/i386/xawt/ cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(
    at java.lang.ClassLoader.loadLibrary(
    at java.lang.Runtime.load0(
    at java.lang.System.load(
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(
    at java.lang.ClassLoader.loadLibrary(
    at java.lang.Runtime.loadLibrary0(
    at java.lang.System.loadLibrary(
    at Method)
    at sun.awt.NativeLibLoader.loadLibraries(
    at sun.awt.DebugHelper.<clinit>(
    at java.awt.Component.<clinit>(
    at com.mucommander.Launcher.main(
Exception in thread "main" java.lang.NullPointerException
    at com.mucommander.text.Translator.get(
    at com.mucommander.Launcher.main(

I installed libXtst6 and libext6:i386 to no avail.

Any ideas?

share|improve this question
This setup was needed for my previous workplace for Juniper VPN and I ended up using chrooted x86 environment – rojanu Jun 22 '12 at 7:35

I had a similar problem with missing I solved it by running the following command in a terminal:

sudo apt-get install libxtst6:i386

Hope it helps!

share|improve this answer


sudo apt-get install libxi6

The complete command is:

sudo apt-get install libxi6 libxtst6 libxrender1
share|improve this answer
Please note that it's advisable to run sudo apt-get update before installing or updating software from the command-line. sudo apt-get update fetches updated information about what packages are available in what versions from where. – Eliah Kagan Aug 14 '12 at 20:51

Have you tried installing ia32-libs Install ia32-libs? I am a java-android developer, and I need to install this when I make a fresh installation of android-sdk (which is 32 bit) in my 64 bit Ubuntu.
I tried this with Ubuntu 12.04 and now on 12.10.

share|improve this answer

In my case, I had to install three libs. Each time I run rcu after a lib install, I saw another lib missing error in my system. So below libs and order worked for me

sudo apt-get install libXext6:i386 
sudo apt-get install libXtst6:i386
sudo apt-get install libXi6:i386
share|improve this answer
Thank you, this one sudo apt-get install libXi6:i386 work for me on ubuntu 14.04 after fresh installation. i spent a hall day figure out what's wrong. – Manee Osman Jan 23 at 12:01

You have run into your downloaded binary depending on different libraries than those you have installed.

If you just need a Java installation, and not a Sun Java installation, do a sudo apt-get openjdk-6-jdk instead.

share|improve this answer

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.