You can download this file from the matching Matlab website, www.matlab.com and run this file in the browser or using the terminal command
javaws /route/to/downloader_agent
which gives the same result.
However if you are getting an error, this article will most likely help you.
If you get an error while trying to download the downloader (yes downloading a downloader to download a software....) which looks like the following the issue can be one of 2 things.
Java is blocked on the Site
The website is not allowed to execute Java applications. Hence the solution can be to add the site to the exceptions. To do this open a command line and type,
jcontrol
This will bring up the following window
Java control GUI Window - Security Settings Tab |
Click on "Edit Site List" and add the security exception for necessary site mentioned in your downloader_agent, e.g. http://www.mathworks.com.
Adding a Security Exception |
Confirming Security Exception |
Confirm and accept the exception you made. After this try to run the downloader file again. If it starts downloading Matlab, proceed with the installation procedure.
Missing Java Security Exceptions
If your jcontrol window doesn't have an "exceptions" part in the security settings, you need to update your Java installation.
You can find many guides for this: How to Update Oracle Java 7
Missing Site Exceptions Settings |
You can find many guides for this: How to Update Oracle Java 7
Java Versions Interfering
Another problem can be that you have multiple versions of Java installed and this is causing some trouble.
The solution is to remove everything related to Java and then reinstall the basic package. To do this:
- Follow this guide to completely remove Java from your system
http://askubuntu.com/questions/84483/how-to-completely-uninstall-java - Confirm that you have indeed removed everything. Try,
java -version
If you get an output, you have not removed something. Go back to the previous step and see what step you have missed. - Reinstall the basic Java package from the terminal with,
sudo apt-get install default-jre - Run the downloader_agent again from your browser or with,javaws /route/to/downloader_agent
Matlab Downloading |
Selecting Installation Method |
Install Progress Bar |
Additional Configuration Steps |
Installation & Activating Product |
Running Matlab
After the rocess was completed you can run Matlab from the terminal with the command,
or you can create a launcher for it on the Desktop. For me for some reason it only worked when I started it from the terminal and not executing the matlab file as a program.
If you have any questions or are stuck anywhere, leave a comment and I'll see if I can help.