OOps hit send too fast. But thanks., On Wed, Mar 18, 2015 at 4:32 PM, Johannes Schindelin < johannes.schinde...@gmx.de> wrote:
> Hi Lee, > > On 2015-03-18 14:47, Lee Kamentsky wrote: > > I'm programming "monkey see, monkey do" style. I have very little idea >> what >> I'm doing, trying to replicate the logic for mac loading dylibs in >> imagej-loader. >> >> I've gotten pretty far, but at the end, I'm seeing the error, >> "JavaNativeFoundation: GetGlobalVM: JNI_GetCreatedJavaVMs() failed to get >> any VM" when I start an AWT app. >> > > Do you expect a JVM to be running already? If not, you should [create one]( > https://github.com/imagej/imagej-launcher/blob/ > 3e061521a/src/main/c/ImageJ.c#L307-L322). > Nope - this happens when I am shutting down the JVM after starting AWT. > But maybe you have a project for me to clone, with instructions that > might let this poor Python pilgrim reproduce the issue? > > The head of the master branch of http://github.com/CellProfiler/python-javabridge and running "python demo/demo_uicallback.py" should demostrate the problem when you quit. If it doesn't, I fixed it. Ciao, > Dscho >
_______________________________________________ ImageJ-devel mailing list ImageJ-devel@imagej.net http://imagej.net/mailman/listinfo/imagej-devel