Matlab Installation

Asked by DEB

I have installed matlab nad when I am trying to open it it says:

Warning: Cannot locate Java Runtime Environment (JRE) . . .

         1. Either a correct JRE was not available for redistribution when
            this release was shipped, in which case you should refer to the
            Release Notes for additional information about how to get it.

         2. Or you have tried to use the MATLAB_JAVA environment variable
            to specify an alternate JRE, but MATLAB cannot find it. Please
            run 'matlab -n' to determine what value you are using for
            MATLAB_JAVA and fix accordingly.
---------------------------------------------------------------------------

 matlab: No MATLAB executable for this machine architecture.
***/matlab/bin/glnx86/MATLAB does not exist!

Plaease help me with the process.

I have installed Java 6 .

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wyatt Smith (wyatt-smith) said :
#1

I do not have experience with matlab.

But to make sure you have java-jre installed properly, Please enable the multiverse repository in System-> Administration-> Software Sources. Then open a terminal and type

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin

Hope this helps

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

hello

please take a look at this link

https://help.ubuntu.com/community/MATLAB

or you can use octave or scilab which are free alternatives of matlab

For octave please refer:

https://help.ubuntu.com/community/Octave

or for scilab

Go to System > Administration > Synaptic Package Manager
Under the Settings menu, choose Repositories.
Make sure the fourth choice (multiverse) has a check next to it, then click close.
Now if you search for scilab, you should be able to right click on scilab, and choose Mark for Installation.

Regards

Revision history for this message
Avinash Parnandi (bunnu) said :
#3

Try the command
matlab -glnx86

Can you help with this problem?

Provide an answer of your own, or ask DEB for more information if necessary.

To post a message you must log in.