Can't call Matlab from Java code with macOS Catalina

조회 수: 12 (최근 30일)
Felipe Arteaga
Felipe Arteaga 2019년 11월 23일
댓글: Walter Roberson 2020년 8월 7일
Using this two macs:
1) macOS High Sierra 10.13.6, macBook pro 2011
2) macOS Catatalina 10.15.1, mac mini 2018
Both with Matlab 2019a, and Eclipse IDE for Java Developers 4.11.0
My project runs with JAVA SE -1.8 (is exactly the same java project, shared over dropbox)
In the mac with macOS Catalina, I get an error when I try to run a Java file even if it has NO reference to matlab engine (see picture "Code and error.png"):
But has Environment needed to connect to Matalb in the "Run configuration" (see picture "environment.png").
Running the same in the mac with High Sierra I have no problem.
The error I get is:
dyld: Symbol not found: _mecab_get_feature
Referenced from: /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
Expected in: /Applications/MATLAB_R2019a.app/bin/maci64/libmecab.dylib
in /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
  댓글 수: 3
Felipe Arteaga
Felipe Arteaga 2020년 8월 7일
편집: Felipe Arteaga 2020년 8월 7일
It worked with "csrutil disable", thanks!
Any idea if it is possible to grant specific access only to java-matlab, so I don't need to disable the system integrity protection all the time?
Walter Roberson
Walter Roberson 2020년 8월 7일
I don't think I know of any way to disable SIP for a particular application.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by