Does java classpath settings by MCR cross GLOBAL JAVA jobs?

조회 수: 3 (최근 30일)
Lijie
Lijie 2012년 6월 29일
I have a Java code to call two jobs. The first job is to set the java class path by using javaaddpath to include the jdbc driver jar. The second job is to read data from database. The first job is executed successfully. But the second job can't pick up the class path that the first job sets. If I print out java classpath using javaclasspath('-all'), the jdbc driver jar is not there. Can the javaaddpath setting cross the global java jobs?
I'm using MATLAB AND MCR 2012a. Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by