Question
When I download the download agent from the MathWorks website on Mac OS X, it is trying to open in a text editor.
Expert Answer
Prashant Kumar
PhD Expert
Answered Aug 31, 2026
If the download agent is not opening properly, there could be two issues occurring.
1) Please verify that the download agent is named download_agent.jnlp.
- Right click or control click the download agent icon and select get info
- In the Name & Extension field, if there is a .txt extension, remove it.
- Close the Info panel by click the red x on the top left.
- Launch the download agent again.
2) Java is not set as the default application for .jnlp files.
- Right click or control click the download agent icon and select "Open With >"
- Select Java Web Start.app
- If the Java Web Start.app is not listed, you can select other and browse to the directory /System/Library/CoreServices and and select it.
- To register Java Web Start as the default application of JNLP files, please use one of the following methods:
1) First method:
- In the Finder, open the /System/Library/CoreServices folder. Simply opening this folder will re-associate JNLP files with Java Web Start.app.
- Close the CoreServices Finder window.
- Open Terminal (located in /Applications/Utilities/).
- Type or paste the following command, then press Return:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister "/System/Library/CoreServices/Java Web Start.app"
- Close the Terminal window
If you cannot locate the Java Web Start.app, then you will need to make sure Java is properly installed on your system. Java can be downloaded and installed from java.com
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related File Exchange Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →