MATLAB Linux install error: /tmp/mathworks_15227/java/jre/glnxa64/jre/bin/java: Permission denied
When installing MATLAB on a Linux system, you may encounter the following error message.
Preparing installation files ...
Installing ...
eval: 1: /tmp/mathworks_15227/java/jre/glnxa64/jre/bin/java: Permission denied
My solution turns out to be the following:
Preparing installation files ...
Installing ...
eval: 1: /tmp/mathworks_15227/java/jre/glnxa64/jre/bin/java: Permission denied
My solution turns out to be the following:
- From the install package, cd to sys/java/jre/xxx/jre/bin directory. (xxx could be glnx86 or glnxa64 or something similar)
- chmod a+x *
- Execute the install command once again. You should be all set.
Thank you very very much! It worked for me too.
ReplyDeleteThank you very much :)
ReplyDeleteAnd if you see the following error:
ReplyDelete----------------------
/tmp/mathworks_26521/sys/java/jre/glnxa64/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
----------------------
apt get install openjdk-7-jre and then run the install script with the -javadir option as /usr/lib/jvm/java-7-openjdk-amd64/jre
See http://askubuntu.com/questions/151826/how-to-fix-java-problem-installing-matlab-2012a-64-bit-in-ubuntu-12-04-64-bit
it works thank you so much
ReplyDeleteThank you!
ReplyDelete./install: line 713: /tmp/mathworks_10694/sys/java/jre/glnxa64/jre/bin/java: cannot execute binary file
ReplyDelete./install: line 713: /tmp/mathworks_10694/sys/java/jre/glnxa64/jre/bin/java: cannot execute binary file
ReplyDeletei face problem during installing matlab on centos6, help me
ReplyDelete./install: line 713: /tmp/mathworks_10694/sys/java/jre/glnxa64/jre/bin/java: cannot execute binary file
Did you do step 1 and step 2 before install? If not, use a root account or at least put "sudo" do them before you try the install again.
DeleteWhen you install, try to use a root account or at least put "sudo" before the install command. You may need the root account to install the program.