| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB Compiler |
| Contents | Index |
| Learn more about MATLAB Compiler |
| On this page… |
|---|
Path for Java Development on All Platforms Path Modifications Required for Accessibility |
The following information is for programmers developing applications that use libraries or components that contain compiled M-code. These settings are required on the machine where you are developing your application. Other settings required by end users at run time are described in Directories Required for Run-Time Deployment.
Note For matlabroot, substitute the MATLAB root folder on your system. Type matlabroot to see this folder name. |
There are additional requirements when programming in the Java programming language. See Deploying Applications That Call the Java Native Libraries.
In order to use some screen-readers or assistive technologies, such as JAWS®, you must add the following DLLs to your Windows path:
JavaAccessBridge.dll WindowsAccessBridge.dll
You may not be able to use such technologies without doing so.
When programming with components that are generated with MATLAB Compiler, add the following folder to your system PATH environment variable:
matlabroot\runtime\win32|win64
Add the following platform-specific folders to your dynamic library path.
Note For readability, the following commands appear on separate lines, but you must enter each setenv command on one line. |
Linux
setenv LD_LIBRARY_PATH matlabroot/runtime/glnx86: matlabroot/bin/glnx86: matlabroot/sys/os/glnx86: matlabroot/sys/java/jre/glnx86/jre/lib/i386/native_threads: matlabroot/sys/java/jre/glnx86/jre/lib/i386/server: matlabroot/sys/java/jre/glnx86/jre/lib/i386: setenv XAPPLRESDIR matlabroot/X11/app-defaults
Linux x86-64
setenv LD_LIBRARY_PATH matlabroot/runtime/glnxa64: matlabroot/bin/glnxa64: matlabroot/sys/os/glnxa64: matlabroot/sys/java/jre/glnxa64/jre/lib/amd64/native_threads: matlabroot/sys/java/jre/glnxa64/jre/lib/amd64/server: matlabroot/sys/java/jre/glnxa64/jre/lib/amd64: setenv XAPPLRESDIR matlabroot/X11/app-defaults
Solaris 64
setenv LD_LIBRARY_PATH matlabroot/runtime/sol64: matlabroot/bin/sol64: matlabroot/sys/os/sol64: matlabroot/sys/java/jre/sol64/jre/lib/sparcv9/native_threads: matlabroot/sys/java/jre/sol64/jre/lib/sparcv9/server: matlabroot/sys/java/jre/sol64/jre/lib/sparcv9: setenv XAPPLRESDIR matlabroot/X11/app-defaults
Intel Mac (Maci)
setenv DYLD_LIBRARY_PATH matlabroot/runtime/maci: matlabroot/bin/maci: matlabroot/sys/os/maci: /System/Library/Frameworks/JavaVM.framework/JavaVM: /System/Library/Frameworks/JavaVM.framework/Libraries setenv XAPPLRESDIR matlabroot/X11/app-defaults
Intel Mac (Maci64)
setenv DYLD_LIBRARY_PATH matlabroot/runtime/maci64: matlabroot/bin/maci64: matlabroot/sys/os/maci64: /System/Library/Frameworks/JavaVM.framework/JavaVM: /System/Library/Frameworks/JavaVM.framework/Libraries setenv XAPPLRESDIR matlabroot/X11/app-defaults
![]() | Reference Information | Directories Required for Run-Time Deployment | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |