MATLAB Answers

Why do I receive the error "Exception in thread "main"​.inject.Pr​ovisionExc​eption" when installing MATLAB on Linux or Mac?

35 views (last 30 days)
When installing MATLAB 7.11 (R2010b) on Linux, I receive the following error:
ERROR: 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
I would like to resolve this so I can install.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 Dec 2020
Edited: MathWorks Support Team on 2 Dec 2020
This error occurs if the symbolic links for the installer are missing. The installer uses symbolic links in order to locate the required libraries for installation. This may occur if the installer .zip archive was extracted on a file system that does not support symbolic links. For example, if the files were extracted on a Windows system, this error would occur. To resolve this, the installer should be extracted on a system that supports symbolic links (ext2, ext3, etc.).
This error can also occur when installing from DVD if the DVD is not mounted with the correct permission set. To correct this, please see the related article:
Why do I get the message "xsetup: Permission denied" when running the installer on Linux/Unix?

More Answers (2)

Ratnesh Chandak
Ratnesh Chandak on 6 Feb 2015
i am having same problem of installing matlab R2012B in ubuntu 14.04 ,i have extracted the matlab in ubuntu only using its archive manager, can anyone help me.

Seung Bok Baek
Seung Bok Baek on 8 Jun 2016
I mounted an installer iso file using two ways.
- case of Archive Manager
I can't read this path and I guess it make some problem when the installer makes links.
When I mounted it using DiskImage Mounter, the installer was opened success.


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!