Problems installing Matlab 7.04

Casper Skovby casperskovby at gmail.com
Mon Sep 10 06:56:31 UTC 2007


Hi,

I have problems installing Matlab 7.04 in Kubuntu Feisty. Here is what I 
did.
I first copied the license file to //opt/matlab/.
Then I mounted the iso file with the command /sudo mount -o loop -t 
iso9660 
/media/cdrom0/cdrom0/Mathworks.Matlab.R2007a.UNIX.DVD.ISO-TBE/matu2k7l.iso 
/media/mountpoint1/./
Then I started the installation, /sudo sh /media/mountpoint1/install./
I chose the Matlab root directory location, //opt/matlab./
I marked the x86 platform and all the items.
When the installation was done a pushed the "exit"-botton.
Then I got the following error messages in the console:
/The following messages were written to standard error
    while running 'xsetup' the X Window System version
    of 'install'.

        Error reading /media/mountpoint1/update/pd/matlab/glnx86/tar.enc
        Error reading /media/mountpoint1/update/pd/toolbox/stateflo/tar.enc
        Error reading /media/mountpoint1/update/pd/toolbox/mdce/tar.enc

/Nevertheless I continued the installation process with the command, 
/sudo sh /opt/matlab/install_matlab/.
I answered /yes/ to all the questions and the installation should be 
finished.
Then when I tryed to run Matlab I got the following error message:
/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.

           /opt/matlab/bin/glnx86/MATLAB does not exist!/

The first error regarding Java I corrected by changing a path to Java in 
the file //usr/local/bin/matlab.
/So now I am stuck with this error:
/matlab: No MATLAB executable for this machine architecture.

           /opt/matlab/bin/glnx86/MATLAB does not exist!
/
Has anybody got the same problems or does anybody know what to do about 
it...?

Regards
Casper




More information about the kubuntu-users mailing list