Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Matlab not getting installed on OS X version 10.9.2

Hi,


I am trying to install matlab on the Macbook Air, with OS X version 10.9.2. As soon as I double click on the installer, it opens a GUI and closes immediately. When I check my shell, it gives the following error.


Preparing installation files ...

Installing ...

Exception in thread "main" com.google.inject.ProvisionException: Guice provision errors:


1) Error in custom provider, java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:68 )

while locating com.mathworks.instutil.DisplayProperties

at com.mathworks.wizard.ui.components.ComponentsModule.providePaintStrategy(Compon entsModule.java:76)

while locating com.mathworks.wizard.ui.components.PaintStrategy

for parameter 4 at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.<init>(SwingCompon entFactoryImpl.java:111)

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>(WizardUIImpl.java:62)

while locating com.mathworks.wizard.ui.WizardUIImpl

while locating com.mathworks.wizard.ui.WizardUI annotated with @com.google.inject.name.Named(value=BaseWizardUI)

at com.mathworks.wizard.ui.UIModule.provideWizardUI(UIModule.java:50)

while locating com.mathworks.wizard.ui.WizardUI

for parameter 0 at com.mathworks.wizard.ExceptionHandlerImpl.<init>(ExceptionHandlerImpl.java:22)

while locating com.mathworks.wizard.ExceptionHandlerImpl

while locating com.mathworks.wizard.ExceptionHandler


1 error

at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:767)

at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)

at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:156)

at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:71)

at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)

at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18 )

at com.mathworks.professionalinstaller.Launcher.main(Launcher.java:21)

Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:106)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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)

... 6 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:101)

... 54 more

Caused by: com.mathworks.instutil.JNIException: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_5039/bin/maci64/libinstutil.dylib

at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:39)

at com.mathworks.instutil.NativeUtility.<init>(NativeUtility.java:24)

at com.mathworks.instutil.DisplayPropertiesImpl.<init>(DisplayPropertiesImpl.java: 10)

at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:75 )

... 59 more

Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_5039/bin/maci64/libinstutil.dylib

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)

at java.lang.Runtime.load0(Runtime.java:809)

at java.lang.System.load(System.java:1083)

at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:37)

... 62 more

Finished

logout


Has anyone faced this error?


Thanks a lot for your help.


Regards

Raj

MacBook Air, OS X Mavericks (10.9.2)

Posted on May 3, 2014 8:28 AM

Reply
12 replies

Jun 13, 2014 3:30 PM in response to rajsinghdua

Same problem. Tried 2012b and 2013a. Have no idea how to fix it. Same log.


MacBook-Pro-Apple:MacOS apple$ java -version

java version "1.8.0_05"

Java(TM) SE Runtime Environment (build 1.8.0_05-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

MacBook-Pro-Apple:MacOS apple$ java -version

java version "1.8.0_05"

Java(TM) SE Runtime Environment (build 1.8.0_05-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)


Latest XQuartz, X11 are installed. Mavericks, 10.9.3.

Jun 16, 2014 7:56 AM in response to rajsinghdua

I have the same problem here... I don't know what to do... I already installed Java SE 6 and XQuartz but that doesn't seem to be the problem, I still get the error. Please help us! We need Matlab!


MacBook-Pro-de-Jose-2:MATLAB_801 R2013 Jose$ ./install_macos

Preparing installation files ...

Installing ...

Exception in thread "main" com.google.inject.ProvisionException: Guice provision errors:


1) Error in custom provider, java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:68 )

while locating com.mathworks.instutil.DisplayProperties

at com.mathworks.wizard.ui.components.ComponentsModule.providePaintStrategy(Compon entsModule.java:76)

while locating com.mathworks.wizard.ui.components.PaintStrategy

for parameter 4 at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.<init>(SwingCompon entFactoryImpl.java:111)

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>(WizardUIImpl.java:62)

while locating com.mathworks.wizard.ui.WizardUIImpl

while locating com.mathworks.wizard.ui.WizardUI annotated with @com.google.inject.name.Named(value=BaseWizardUI)

at com.mathworks.wizard.ui.UIModule.provideWizardUI(UIModule.java:50)

while locating com.mathworks.wizard.ui.WizardUI

for parameter 0 at com.mathworks.wizard.ExceptionHandlerImpl.<init>(ExceptionHandlerImpl.java:22)

while locating com.mathworks.wizard.ExceptionHandlerImpl

while locating com.mathworks.wizard.ExceptionHandler


1 error

at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:767)

at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)

at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:156)

at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:71)

at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)

at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18 )

at com.mathworks.professionalinstaller.Launcher.main(Launcher.java:21)

Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:106)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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)

... 6 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:101)

... 54 more

Caused by: com.mathworks.instutil.JNIException: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_791/bin/maci64/libinstutil.dylib

at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:39)

at com.mathworks.instutil.NativeUtility.<init>(NativeUtility.java:24)

at com.mathworks.instutil.DisplayPropertiesImpl.<init>(DisplayPropertiesImpl.java: 10)

at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:75 )

... 59 more

Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_791/bin/maci64/libinstutil.dylib

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)

at java.lang.Runtime.load0(Runtime.java:809)

at java.lang.System.load(System.java:1083)

at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:37)

... 62 more

cp: /Applications/MATLAB_R2013a.app/licenses/license.lic: Permission denied

Finished

MacBook-Pro-de-Jose-2:MATLAB_801 R2013 Jose$ sudo ./install_macos

Password:

Preparing installation files ...

Installing ...

Exception in thread "main" com.google.inject.ProvisionException: Guice provision errors:


1) Error in custom provider, java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:68 )

while locating com.mathworks.instutil.DisplayProperties

at com.mathworks.wizard.ui.components.ComponentsModule.providePaintStrategy(Compon entsModule.java:76)

while locating com.mathworks.wizard.ui.components.PaintStrategy

for parameter 4 at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.<init>(SwingCompon entFactoryImpl.java:111)

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>(WizardUIImpl.java:62)

while locating com.mathworks.wizard.ui.WizardUIImpl

while locating com.mathworks.wizard.ui.WizardUI annotated with @com.google.inject.name.Named(value=BaseWizardUI)

at com.mathworks.wizard.ui.UIModule.provideWizardUI(UIModule.java:50)

while locating com.mathworks.wizard.ui.WizardUI

for parameter 0 at com.mathworks.wizard.ExceptionHandlerImpl.<init>(ExceptionHandlerImpl.java:22)

while locating com.mathworks.wizard.ExceptionHandlerImpl

while locating com.mathworks.wizard.ExceptionHandler


1 error

at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:767)

at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)

at com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:156)

at com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:71)

at com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)

at com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18 )

at com.mathworks.professionalinstaller.Launcher.main(Launcher.java:21)

Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:106)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.java:48)

at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:4 2)

at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:6 6)

at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.jav a:111)

at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFac toryAdapter.java:45)

at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactor yAdapter.java:42)

at com.google.inject.Scopes$1$1.get(Scopes.java:54)

at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProvide rAdapter.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)

... 6 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:101)

... 54 more

Caused by: com.mathworks.instutil.JNIException: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_834/bin/maci64/libinstutil.dylib

at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:39)

at com.mathworks.instutil.NativeUtility.<init>(NativeUtility.java:24)

at com.mathworks.instutil.DisplayPropertiesImpl.<init>(DisplayPropertiesImpl.java: 10)

at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.java:75 )

... 59 more

Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/mathworks_834/bin/maci64/libinstutil.dylib

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)

at java.lang.Runtime.load0(Runtime.java:809)

at java.lang.System.load(System.java:1083)

at com.mathworks.instutil.NativeUtility.loadNativeLibrary(NativeUtility.java:37)

... 62 more

Finished

Aug 20, 2014 6:39 AM in response to rajsinghdua

I was trying to install MATLAB R2013a on my macbook (OSX 10.9) and had the same problem.


I finally found a solution without uninstall other versions of java from oracle.


1. double-click .dmg file (installer)

2. copy all files in the dmg file into a folder.

3. run Terminal and go to the folder. and type 'chmod +w install'

4. type 'vi install' (edit 'install' text file)

5. find the following text

# Ask for a 64-bit Java 1.6 (or higher) VM

DEFAULT_JRE_LOC=`$JAVA_HOME_CMD -v 1.6* -d64 -F`

6. change '1.6+' to '1.6*' (specifying a lower version[jdk se6] of java which would be Apple Java SE 6.

7. save the file (install)

8. run 'install' file by double-clicking


If Apple Java SE 6 is not installed, please visit http://support.apple.com/kb/DL1572


Hope this helps.

Feb 26, 2015 4:28 AM in response to Gigon Bae

Dear Gigon Bae, dear friends who solved successfully this issue,


I have exactly the same installation problem with Matlab under MacOS X version 10.9.5. However, when I followed your instruction, I could not find after the step 4 the text described in step 5. What I got on my Terminal is


#!/bin/sh

#

# Name:

# install - script file for invoking the Multi-platform installer on Linux.

#

# Usage: install [-h|help]

# [-javadir <directory>] | [-root <directory>] |

# [-test] | [-v|-verbose]

# -h|-help - Display arguments.

# -test - Don't actually run the java

# command (only useful with -v).

# -v|-verbose - Display settings.

# -javadir <directory> - Override default java root directory.

# -root <directory> - Override default DVD root directory.

# -tmpdir <directory> - Override default directory for temporary files.

#

# The default settings when no override inputs are supplied are:

# -root = <directory containing this script>

# -javadir = <root>/sys/java/jre/$ARCH/jre

# -tmpdir = /tmp

"install" 742L, 24293C


Can someone help me to solve this installation issue. Thank you very much in advance.

Matlab not getting installed on OS X version 10.9.2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.