이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Cannot install Matlab R2012a student version on new Macbook Pro

조회 수: 1(최근 30일)
Elad 2013년 9월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
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


Daniel Shub
Daniel Shub 2013년 9월 20일
It looks like there are issues with R2012a and OSX 10.8
  댓글 수: 2
Malcolm Lidierth
Malcolm Lidierth 2014년 3월 25일
Is Apple's Java 6 installed in System/Library/Java. That is needed by R2012a.

Gigon 2014년 8월 20일
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