Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 downloading Matlab from the Mathworks website, I am prompted to download an .flp file. When I open this JAVA file I shortly see a screen where some data is processed and after that nothing ever happens again.

Does anybody have an idea how to install Matlab this way?

share|improve this question

In order to install Matlab using this installer, you have to install the official Sun Java JRE. This is no longer available in Maverick's repositories.

One workaround for this is to select the archives from Lucid and install JAVA from there.

share|improve this answer
Figured it out myself.... – Ingo Sep 10 '10 at 19:15
Lucid is the current version remember... ;) – 8128 Sep 10 '10 at 19:16
Uargh, you are right! :) – Ingo Sep 12 '10 at 12:44

You need to install Sun Java from the partner repository, this can be done by enabling the repository through the menu System>Administration>Software Sources, in the "Other Software" tab check the one saying something with partner.

Then install sun-java6-bin package and activate it by running

sudo update-java-alternatives -s java-6-sun

in a terminal.

Afterwards you should be able to run Matlab as you tried it before.

share|improve this answer
"Software Sources" is no longer available in Maverick. I could not find JAVA in those repositories anyways when activating them from Synaptic. Seems like they have taken it out. – Ingo Sep 12 '10 at 12:45
You didn't say what version of Ubuntu you were using so i just reasoned that you must be using the latest stable release.. – LassePoulsen Sep 13 '10 at 9:01

If the problem is java, then check this workaround, then, for instruction on how install mathlab (R2009b) see this

share|improve this answer
up vote 0 down vote accepted

In order to install Matlab using this installer, you have to install the official Sun Java JRE.

Got to Applications -> Software Center and select Software Sources from the Edit menu

alt text

Select Canonical Partners under Other Software and click on close

Now search for sun-java-6 and install the packages

alt text

Finally, right click on your downloaded Matlab installation file and click on Open With Sun Java 6 Runtime

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.