MATLAB: Do I get a noclassdeffounderror when launching 32-bit installer on 64-bit Linux

MATLAB

I am trying to install 32-bit MATLAB on my 64-bit Linux computer but I get the following error when launching the installe:
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Component
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at $Proxy11.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
at com.google.inject.internal.ConstructionContext.createProxy(ConstructionContext.java:81)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:70)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)

Best Answer

This error indicates you are missing some required 32-bit libraries.
On Fedora, they can be installed with the following command:
sudo yum install libXtst.i686
Note, you might also need to run the following if the above command doesn't resolve the issue:
sudo yum install libXtst.so.6
On Ubuntu, they can be installed with the following command:
sudo apt-get install ia32-libs
Related Question