MATLAB Answers


Cannot install Matlab R2012a student version on new Macbook Pro

Asked by Elad
on 20 Sep 2013
Latest activity Answered by Gigon
on 20 Aug 2014

Hi, I am trying to install my Matlab R2012a (student version) on a new Macbook Pro, and when launching the installer I get the following failure message: Exception in thread "main" Guice provision errors:

1) Error in custom provider, java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.mathworks.wizard.WizardModule.provideDisplayProperties( while locating com.mathworks.instutil.DisplayProperties at com.mathworks.wizard.ui.components.ComponentsModule.providePaintStrategy( while locating com.mathworks.wizard.ui.components.PaintStrategy for parameter 4 at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.<init>( while locating com.mathworks.wizard.ui.components.SwingComponentFactoryImpl while locating com.mathworks.wizard.ui.components.SwingComponentFactory for parameter 1 at com.mathworks.wizard.ui.WizardUIImpl.<init>( while locating com.mathworks.wizard.ui.WizardUIImpl while locating com.mathworks.wizard.ui.WizardUI annotated with at com.mathworks.wizard.ui.UIModule.provideWizardUI( while locating com.mathworks.wizard.ui.WizardUI for parameter 0 at com.mathworks.wizard.ExceptionHandlerImpl.<init>( while locating com.mathworks.wizard.ExceptionHandlerImpl while locating com.mathworks.wizard.ExceptionHandler

1 error at$4.get( at at com.mathworks.wizard.WizardLauncher.startWizard( at com.mathworks.wizard.WizardLauncher.start( at com.mathworks.wizard.AbstractLauncher.launch( at com.mathworks.wizard.AbstractLauncher.launchStandalone( at com.mathworks.studentinstaller.Launcher.main( Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at at at$4$ at at$4.get( at$1.get( at$1.get( at at at at at at$Factory.get( at at at at at$Factory.get( at at$ at at at$1$1.get( at at$4$ at at$4.get( at$1.get( at$1.get( at at at$ at at at$1$1.get( at at at at at$Factory.get( at at$ at at at$1$1.get( at at$4$ at at$4.get( ... 6 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at ... 54 more Caused by: com.mathworks.instutil.JNIException: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_1128/bin/maci64/libinstutil.dylib at com.mathworks.instutil.NativeUtility.loadNativeLibrary( at com.mathworks.instutil.NativeUtility.<init>( at com.mathworks.instutil.DisplayPropertiesImpl.<init>( at com.mathworks.wizard.WizardModule.provideDisplayProperties( ... 59 more Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_1128/bin/maci64/libinstutil.dylib at java.lang.ClassLoader.loadLibrary( at java.lang.Runtime.load0( at java.lang.System.load( at com.mathworks.instutil.NativeUtility.loadNativeLibrary(

Any idea what's going on? Thanks in advance, Elad Liebman



No products are associated with this question.

2 Answers

Answer by Daniel
on 20 Sep 2013

It looks like there are issues with R2012a and OSX 10.8


on 21 Sep 2013

Thanks for the link, but I have xquartz installed (I use X11 quite often). So That doesn't seem to be the main cause of the problem...

Malcolm Lidierth
on 25 Mar 2014

Is Apple's Java 6 installed in System/Library/Java. That is needed by R2012a.

Answer by Gigon
on 20 Aug 2014

I had a same problem. If above answer doesn't work, you may have a macbook that other versions of java installed from oracle.

Remove the java and install MATLAB with Apple's Java.

Or, please see my answer here.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today