unable to find java library error. please check if you have matlab jev.

조회 수: 78 (최근 30일)
Pranav
Pranav 2023년 7월 13일
답변: Prathamesh 2023년 7월 26일
When opening matlab , i receive the " unable to find java library error ". Ive installed and uninstalled both matlab and java multiple times to no avail.

답변 (1개)

Prathamesh
Prathamesh 2023년 7월 26일
Hi,
I understand that you are receiving "unable to find java library error" error message. This error message is occurring because the folder containing your Java installation has not been added to your system PATH environment variable.
Please follow the steps below to resolve the issue:
  1. Use matlab_jenv factory command to sets the JRE path to use the default version shipped with MATLAB. Refer to the documentation of “matlab_jenv” command https://in.mathworks.com/help/matlab/ref/matlab_jenv.html
  2. Verify that the folder containing your Java installation has been added to your system PATH environment variable.
  3. Unset the MATLAB_JAVA system environment variable pointing to a different version of JVM other than the default version shipped with MATLAB.
Please refer to the MATLAB Answer to troubleshoot the issue related to “unable to find java library”.
I hope this resolves your issue.

카테고리

Help CenterFile 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!

Translated by