Why do I receive 'Unable to find Java library' error at MATLAB start up in MATLAB 7.7 (R2008b) or newer?
조회 수: 44 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2010년 1월 26일
편집: MathWorks Support Team
2015년 8월 20일
When I start MATLAB, I receive the following error message:
Unable to find Java library: C:\Program Files\Java\jre1.5.0_16\bin\client\jvm.dll
Please check if you have a MATLAB_JAVA environment variable
Note that MATLAB requires Java version 1.4 or higher
Warning: disabling Java support
And MATLAB starts with no graphical icons. When I type EDIT at MATLAB command prompt, I receive the following message:
ERROR: ??? Error using ==> edit at 57 The MATLAB Editor is not supported because Java is not currently available.
채택된 답변
MathWorks Support Team
2015년 8월 20일
This error may occur if you have set a MATLAB_JAVA system environment variable pointing to a different version of JVM other than the default version shipped with MATLAB. MATLAB needs to use the shipped version of JRE to function properly. If you have the variable set, you would need to unset it.
Refer to the related solution, "How do I change the Java Virtual Machine (JVM) that MATLAB is using?" for changing the JVM used by MATLAB.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!