La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Cannot install Matlab R2012a student version on new Macbook Pro

2 visualizaciones (últimos 30 días)
Elad el 20 de Sept. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (2)

Daniel Shub
Daniel Shub el 20 de Sept. de 2013
It looks like there are issues with R2012a and OSX 10.8
  2 comentarios
Elad el 21 de Sept. de 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
Malcolm Lidierth el 25 de Mzo. de 2014
Is Apple's Java 6 installed in System/Library/Java. That is needed by R2012a.

Gigon el 20 de Ag. de 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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by