MATLAB Answers

3

How do I INSTALL R2013a Student on Yosemite

Asked by Eric Bryant on 25 Oct 2014
Latest activity Commented on by Walter Roberson
on 7 Sep 2015

I'm having problems installing R2013a on OSX Yosemite.

  • I uninstalled Matlab, then installed JDK 8u25.
  • Downloaded Matlab.
  • No dice...

Going forward:

  • Looked at the published patches but they seem to obtain for already installed Matlab .
  • If possible, I'm not into hacking any files with a text editor.

Is it true that student licenses don't get any technical support? Please pay some attention to student concerns!

Thanks

**ERROR**

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(ComponentsModule.java:76)
  while locating com.mathworks.wizard.ui.components.PaintStrategy
    for parameter 4 at com.mathworks.wizard.ui.components.SwingComponentFactoryImpl.<init>(SwingComponentFactoryImpl.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.studentinstaller.Launcher.main(Launcher.java:23)
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(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.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)
	... 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.java: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_1991/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_1991/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

  0 Comments

Sign in to comment.

Products

5 Answers

Answer by Robert LiKamWa on 13 Nov 2014
Edited by Robert LiKamWa on 13 Nov 2014

To install on Yosemite:

1) Check if you have Java SE 6 for x86_64.

From the Mac terminal, you can use this command to check:

/usr/libexec/java_home -V

If you don't have it, install it from http://support.apple.com/kb/DL1572

2) After calling the "/usr/libexec/java_home -V", note the directory where Java SE 6 is located. Mine was "/Library/Java/JavaVirtualMachines/jdk1.6.0.jdk/Contents/Home"

3) Find the install file from the Matlab installation directory. Drag it to your Terminal, insert a space, then type "-javadir", another space, then the directory where Java SE6 was. It should look something like this (on one line):

/Users/asdf/Desktop/mathworks_downloads/MATLAB2013/install -javadir /Library/Java/JavaVirtualMachines/jdk1.6.0.jdk/Contents/Home

  6 Comments

it want work i have this java file also please help

riddhi desai, Mathworks offers free support for installation problems for all licenses (including Student licenses). Please contact Mathworks for assistance on this matter.

Sign in to comment.


Answer by Image Analyst
on 25 Oct 2014

Yes, student editions get free installation support.

Did you overlook the Yosemite link in the blue box at the top of this page?

  2 Comments

(1) Wow, I'm surprised to hear this - but great!

(2) No, I'm asking about problems with * installation *. So the answer is - "Yes, I have." - but I can't patch an existing installation if it won't install.

If the answer is "it just doesn't work" this would be better to know.

Then call them. I know , or at least I read , that students are getting things working, and you should be able to also.

Sign in to comment.


Answer by Miha
on 27 Oct 2014

Hello, I am having the same issue. Cannot get the Matlab R2013a student to install under Yosemite.

Did you find a solution?

  1 Comment

No, apologies I haven't.

Sign in to comment.


Answer by Natalie
on 30 Oct 2014

I was having the same issue and I called (508) 647-7000 for technical support from them, there is a recording and it will ask you which kind of help you are looking for. You can specifically choose to get help with installation and then it will transfer you to a person.

They were very helpful, asked me a few questions and then sent me an email with directions and guided me through the process while I was on the phone (it was probably 20 minutes maximum including download time). I would highly recommend calling if you are having installation issues.

After I was finally able to install it, the patch worked. Hopefully you guys can get MATLAB working too!

  5 Comments

Apple already solved the problem. 1)Update the OS X. 2)Install Java that apple provides from this link: http://support.apple.com/kb/DL1572 3)Install the appropriate patch that Mathworks provides from this link: https://www.mathworks.com/support/bugreports/1098655

@Rachid Log. Thanks for the links. This fixed my (non student) version of Matlab also!

@Rachid Log. Thanks this worked for my 2013a Student version as well!

Sign in to comment.


Answer by Scott
on 25 Feb 2015

Hi Eric,

There is an official solution for the problem you are encountering located here:

http://www.mathworks.com/matlabcentral/answers/161347-how-can-i-install-matlab-versions-r2011a-r2013a-on-os-x-10-10-yosemite

Thanks,

-Scott

MathWorks Installation & Licensing support

  0 Comments

Sign in to comment.