I tried installing MatLab on Ubuntu 12.04 from an .iso, unsuccessfully. The .iso file is mounted, but when I go to the mounted folder and type ./install
, I get this error message:
Error: Cannot locate Java Runtime Environment (JRE).
The directory /mnt/iso/sys/java/jre/glnx86/jre does not exist.
That seems pretty normal, since the directory glnx86 doesn't exist, but instead, in the install script, it seems like this should be exchanged with glnxa64, which does exist. I tried to modify the script in the install file and deleted the glnx86 values, retried to run the script, but then I get another error message:
Preparing installation files ...
Installing ...
/tmp/mathworks_11559/sys/java/jre/glnxa64/jre/bin/java: 1: /tmp/mathworks_11559/sys/java/jre/glnxa64/jre/bin/java: Syntax error: "(" unexpected
Finished
Can someone help me out of this, please?