Help debugging plugin run via java server / Class not found error
My high level goal is to call a Fiji plugin via JNI from a C++ program. In particular I have tried to run the plugin "Grid/Collection stitching" and I get a return value of "[abort]." So I tried running the same command line with a Java server from the Fiji directory with the command:
If instead of the command "Grid/Collection stitching" I run a different pluging (eg. "Pairwise Stitching") the plugin dialog pops up ok so I think my classpath is ok; it seems something specific to this plugin is not parsing the path correctly.
I suspect the problem could be related to the "Stitching_Grid.class" file being located in a 'plugin' sub-directory of the Stitching_-3.1.0.jar file. I have found a discussion (here) that might be related on the mailing list that indicated the error message could be incorrect and perhaps "Stitching_Grid" is not the missing class, but some other class.
I am new to Fiji development and java, so any tips on how best to debug this would be greatly appreciated. I have cloned the Stitching plug-in and can build it from Eclipse, but I am not familiar enough with Eclipse to know how to debug this particular situation.
PS> I've attached the results from plugins > utilities > ImageJ properties and also the results from using the -verbose flag.
Please avoid top-posting, and please make sure to reply-to-all!
You received this message because you are subscribed to the Google Groups "Fiji-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.