Login  Register

Re: null pointer exception on instanciating a matlab .jar class from plugin

Posted by dscho on Jul 06, 2011; 9:45pm
URL: http://imagej.273.s1.nabble.com/null-pointer-exception-on-instanciating-a-matlab-jar-class-from-plugin-tp3683949p3683961.html

Hi Heinrich,

On Wed, 6 Jul 2011, Heinrich Grabmayr wrote:

> One of my m files displays a figure - so that won't be any use with the
> coder. But will it be displayed via the route of the compiler?

Yes, if you use Matlab's Compiler, the resulting code will start a Java
Virtual Machine to display figures, or reuse a running one if it exists in
the current process (except in Matlab R2010a if memory serves correctly,
where they had a bug on MacOSX, and only on MacOSX, trying to start a new
JVM -- even if Compiler JA generated code did not share that problem).

Ciao,
Johannes