Ubuntu – Matlab install – Java permission denied

javaMATLABpermissionssoftware installation

Matlab version 2012. I know there are many threads about this, suggesting to chmod +x the following files (if you are in installation directory):

sys/java/jre/glnx86/jre/bin/java
sys/java/jre/glnxa64/jre/bin/java

I also chmodded the install file in root of installation directory. However, after running sudo ./install I still get:

Preparing installation files ...
Installing ...
./install: 1: eval: /tmp/mathworks_4880/sys/java/jre/glnxa64/jre/bin/java: Permission denied
Finished

How is this possible? 🙂

Best Answer

Even at your 64bit system, the installation might as well work out coz i have just successfully installed Matlab2012a in mine... here's what i did.. :

1.in the /matlab-install-files/sys/java/jre/glnx86/jre/bin/java ,i did

 sudo chmod +x ./java

2.within the installation directory:

 sudo chmod +x ./install

3.finally, install by:

 ./install 

or

 sudo ./install
Related Question