issues installing Matlab student version 32bit in openSUSE 12.2 64bit

When I try to install the 32bit student version of Matlab in openSUSE 12.2 64bit, I get the following exceptions after executing the command ./install -glnx86 as root:

Preparing installation files …
Installing …
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)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
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)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
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)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
at com.google.inject.Scopes$1$1.get(Scopes.java:54)
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:160)
at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:75)
at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)
at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18)
at com.mathworks.studentinstaller.Launcher.main(Launcher.java:23)
Finished

Mathworks told me to try:
sudo zypper install -t pattern 32bit

                              Loading repository data...
                              Reading installed packages...
                              Resolving package dependencies...


                              The following NEW pattern is going to be installed:
                              32bit 


                              Nothing to do.

Which I did and it produced the same result as above.
I called Mathworks back and they told me that openSUSE 12.2 64bit is unsupported and that I need to downgrade to a 32bit OS. They think the problem is that
I don’t have the ia32-libs package installed.

Could anyone please give me some assistance? Customers of Ubuntu seem to be able to get Matlab working and I don’t want to have to switch to Ubuntu because I really like openSUSE but Matlab is a key application for me
since I am an applied math grad student.

Thanks in advance!!

On 12/11/2012 12:36 AM, bwhitmorre wrote:
>
> They think the problem is that I don’t have the ia32-libs package installed.

-=WELCOME=- new poster.

i think they are probably right…and, there are probably other 32 bit
packages you need also…but, i don’t know which ones…stick around,
someone else will probably know…

while waiting, you might find some of these interesting and/or helpful:
https://www.google.dk/search?q=site%3Aforums.opensuse.org+Matlab+32+64

let us know if you find a solution hiding in previous threads…

and, by the way if you can’t it to work there is no pressure to move to
Ubuntu…just install the 32 bit version of openSUSE…


dd http://tinyurl.com/DD-Caveat

Thanks for the reply. After installing the following packages:

I successfully installed the software.

But then when I try to execute the software with:

./matlab -glnx86

I get this error:

Warning: Cannot locate Java Runtime Environment (JRE) . . .

     1. Either a correct JRE was not available for redistribution when
        this release was shipped, in which case you should refer to the
        Release Notes for additional information about how to get it.

     2. Or you have tried to use the MATLAB_JAVA environment variable
        to specify an alternate JRE, but MATLAB cannot find it.  Please
        run 'matlab -n' to determine what value you are using for
        MATLAB_JAVA and fix accordingly.

matlab: No MATLAB bin directory for this machine architecture.


       ARCH = glnxa64

Which is strange after getting past the java issues in the installation stage.

Do you think that there is something wrong with my path? I have Matlab installed in my home directory not /usr/bin.

I also tried to run the software under 32bit Knoppix and it works fine. So I guess I am forced to create a separate partition with
32bit openSUSE on it.

I forgot to post the packages that I downloaded. I put those back in the reply message below.

On 2012-12-13 16:16, bwhitmorre wrote:
> But then when I try to execute the software with:
>
> ./matlab -glnx86

Please use code tags to post computer generated text.

Posting in
Code Tags - A Guide

> Please
> run ‘matlab -n’ to determine what value you are using for
> MATLAB_JAVA and fix accordingly.

And you did that, I hope. What result?


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)