Does java classpath settings by MCR cross GLOBAL JAVA jobs?

3 visualizaciones (últimos 30 días)
Lijie
Lijie el 29 de Jun. de 2012
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!

Respuestas (0)

Categorías

Más información sobre Call Java from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by