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.

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

4 Answers 4

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

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

share|improve this answer

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.. –  Source Lab Sep 13 '10 at 9:01

Your Answer

 
discard

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.