Ubuntu: How can I install Matlab from the Mathworks website?



Question:

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?


Solution:1

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.


Solution:2

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.


Solution:3

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


Solution:4

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »