Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to install Matlab 2011a, I get an error like this.

/tmp/mathworks_3203/java/jre/glnxa64/jre/bin/java: Permission denied

I searched internet, but what I found is to become root. I tried becoming root as

sudo su

However, result did not change. I guess, it is related somehow with superuser and privileges stuff, but nothing worked for me, any ideas?

share|improve this question

migrated from Sep 26 '11 at 23:49

This question came from our site for professional and enthusiast programmers.

Do you have a 32-bit or 64-bit installation of Ubuntu? In what form did you get Matlab (e.g. a CD? a zip? how did you download it, copy the files, extract it?) – Gilles Sep 26 '11 at 23:40
Please note that sudo -s is a nicer way to start a root shell than sudo su. – sarnold Sep 26 '11 at 23:49
up vote 2 down vote accepted

make sure the file /jre/glnxa64/jre/bin/java (inside your original matlab installation folder) is chmod 755.

share|improve this answer
I put the folder, it still gives the same error. – Ares Sep 26 '11 at 19:48
not the '/tmp/mathworks_3203/java/jre/glnxa64/jre/bin/java' file, but the corresponding file in your original matlab installation folder. – memyself Sep 26 '11 at 19:49
I put the corresponding file. – Ares Sep 26 '11 at 20:04
@Ares, what does it mean to "put" a folder or file? Give commands and ls -l output. – sarnold Sep 26 '11 at 23:48

I had the same problem. Apparently a problem related to extracting the information from the ISO (I cannot explain how):

I solved it by installing Furius Iso Mount and mounting the .iso instead of extracting its contents. Then sudo-run the install script as usual. Good luck!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.