Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have downloaded MATLAB 2012b from the mathworks website. When I use ./install in the terminal it gives me the following error:

Error: Cannot locate Java Runtime Environment.
The directory /home/piyush/Desktop/piyush/sys/java/jre/glnx86/jre does not exist,

When I looked into the ./sys/java/jre folder there is no glnx86 folder. I have only glnax64 folder which has jre folder.

I have also downloaded and updated java in my system, and followed it with system restart.

It shall be great if someone could point out what I am doing wrong or suggest method to install MATLAB properly. Thanks!

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.