Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Error while installing MatlabR2011b in Ubuntu 12.04 64bit OS

Preparing installation files ...
Installing ...
install: 1: eval: /tmp/mathworks_9756/sys/java/jre/glnxa64/jre/bin/java: Permission denied
share|improve this question
What's the question here? –  Tom Brossman Jan 2 '13 at 7:48

2 Answers 2

Here is the solution provided by MathWorks


This error occurs when the installer file (for example, matlab_R2010b_glnxa64_installer.zip or matlab_R2010b_glnx86_installer.zip) is not extracted properly. This commonly happens if the installer is downloaded on a Windows machine, is extracted, and then copied to a Linux machine.

To ensure that the installer runs properly, the installation archives should be extracted on a Linux machine. To extract the installer, you can use the command line tool "unzip" to extract the file. For example:

unzip matlab_R20*_glnxa64_installer.zip

The Other solution is to change the permission of the java executable located in /java/jre/glnxa64/jre/bin/ directory.

sudo chmod +x java
share|improve this answer

In my case, I used this path:


And I used the same command:

sudo chmod +x java
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.