Why does the Download Agent open in a text editor on Mac OS X?

Illustration
Allen - 2023-08-28T14:41:23+00:00
Question: Why does the Download Agent open in a text editor on Mac OS X?

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

Profile picture of Prashant Kumar Prashant Kumar answered . 2025-11-20

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.
      2) Second method:
    • 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


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!