MATLAB 2011a Installation on Linux – mount permission issues

June 13th, 2011 | Categories: Linux, matlab | Tags:

When installing MATLAB 2011a on Linux you may encounter a huge error message than begins with

Preparing installation files ...
Installing ...
Exception in thread "main" Guice provision

1) Error in custom provider, java.lang.RuntimeException: java.lang.reflect.Invoc
  at com.mathworks.wizard.WizardModule.provideDisplayProperties(WizardModule.jav
  while locating com.mathworks.instutil.DisplayProperties
  at com.mathworks.wizard.ui.components.ComponentsModule.providePaintStrategy(Co
  while locating com.mathworks.wizard.ui.components.PaintStrategy
    for parameter 4 at com.mathworks.wizard.ui.components.SwingComponentFactoryI
  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.(WizardUIImpl.
  while locating com.mathworks.wizard.ui.WizardUIImpl
  while locating com.mathworks.wizard.ui.WizardUI annotated with

This is because you haven’t mounted the installation disk with the correct permissions. The fix is to run the following command as root.

mount -o remount,exec /media/MATHWORKS_R2011A/

Assuming, of course, that /media/MATHWORKS_R2011A/ is your mount point. Hope this helps someone out there.

Update: 7th April 2014
A Debian 7.4 user had this exact problem but the above command didn’t work. We got the following

mount -o remount,exec /media/cdrom0

mount: cannot remount block device /dev/sr0 read-write, is write-protected

The fix was to modify the command slightly:

mount -o remount,exec,ro /media/cdrom0
  1. ghack
    July 26th, 2011 at 10:39
    Reply | Quote | #1

    hi,dude,thanks for your advice,
    I have tried as your told,but it didn’t work.
    I have found this below,
    My filesystem is ext4, maybe it is not support symbolic links?

  2. July 26th, 2011 at 13:15
    Reply | Quote | #2

    ext4 definitely supports symbolic links