dynamic java path vs static java path

조회 수: 2 (최근 30일)
Andy
Andy 2020년 4월 1일
답변: Yair Altman 2020년 4월 1일
So, docs say one can add file javaclasspath.txt under the 'prefdir' folder, and its contents are loaded statically upon Matlab's start.
However, same docs say:
javaaddpath('C:\Users\<user>\Documents\JeroMQ\jeromq-0.5.1.jar','-end')
is equally valid.
Observation;
While using the static way seems to be working (as in one can use JeroMQ with Matlab), using the second/dynamic way, it doesn't ... anyone care to have a stab at explaining this????

답변 (1개)

Yair Altman
Yair Altman 2020년 4월 1일
Some Java functionality, especially those that are concerned with Java events that need to propagate to Matlab callbacks, does not work properly when using the dynamic Java classpath, only using the static one.

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by