Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Hi I am trying to install MATLAB in my Ubuntu 32-bit 13.04 by mounting the ISO. Here are the steps i followed:

sudo mkdir /media/matlab/
sudo mount /home/"username"/Desktop/Matlab_Unix_2012a/ml2012au.iso /media/matlab/ -t iso9660 -o loop 

sudo mkdir /usr/local/matlab/
sudo /media/matlab/install

After all theese commands i get the following message:

Preparing installation files ...
Installing ...

It is supposed to open a window with the "Matlab installation" but it does nothing. EXTRA: i read somewhere that if i put -v after the install command it would show me more information about it so here it is:

    Preparing installation files ...
->  DVD                 = /media/matlab
->  ARCH                = glnx86
->  DISPLAY             = :0.0
->  TESTONLY            = 0
->  JRE_LOC             = /tmp/mathworks_2980/sys/java/jre/glnx86/jre
->  LD_LIBRARY_PATH     = /tmp/mathworks_2980/bin/glnx86

Command to run:
/tmp/mathworks_2980/sys/java/jre/glnx86/jre/bin/java  -splash:"/media/matlab/java/splash.png" -Djava.ext.dirs=/tmp/mathworks_2980/sys/java/jre/glnx86/jre/lib/ext:/tmp/mathworks_2980/java/jar:/tmp/mathworks_2980/java/jarext:/tmp/mathworks_2980/java/jarext/axis2/:/tmp/mathworks_2980/java/jarext/guice/:/tmp/mathworks_2980/java/jarext/webservices/ com/mathworks/professionalinstaller/Launcher -root "/media/matlab" -tmpdir "/tmp/mathworks_2980" 

Installing ...

Does anyone know why the installation window isn't showing up?

share|improve this question
The ISO was corrupt – Axter May 15 '13 at 10:28

I just found myself in the same situation with the same problem trying to install MATLAB r2014a in a clean ubuntu 14.04, the solution I found it in a post that said that was problem with the java jre

This worked for me:

./install -javadir /usr/lib/jvm/java-7-openjdk/jre/

I know you solved with a other iso, but I think someone else can find themselves with the same problem I could be interesting for them.

share|improve this answer
Oh my god, you saved my day sir! Thanks so very much! – Sibbs Gambling Jun 20 at 3:34

If you dont have X11 installed

apt-get install -y -q libxtst6 libxrender1 libxi6
share|improve this answer
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review – David Foerster Mar 25 at 14:05

The key is to find the java/jre directory. You can cd to /usr/lib/jvm/ and list all files. There you may find java versions like java-8-openjdk java-8-openjdk-amd64 java-1.8.3-openjdk-amd64 java-x-oracle You can one as your Java engine.

Personally, I picked the following one and the this command for my MATLAB R2016a installation on Bbuntu 16.04: sudo sh ./install -javadir /usr/lib/jvm/java-8-openjdk-amd64/jre/

You can try different jdk/jre for your case, if you want. Hopefully this works for you.

share|improve this answer

Matlab is installed, it didn't show a window because you didn't add a "-v" extension to it. Somewhat like this

sudo /media/matlab/install -v
share|improve this answer
Read the question, the OP already did this. – edwin Aug 3 '13 at 5:13

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.