Posted by
Boris Epstein on
Apr 12, 2010; 7:57pm
URL: http://imagej.273.s1.nabble.com/ImageJ-via-Webstart-tp3688616p3688624.html
Johannes,
Thanks, forget this for now. How about the following: I now use one JAR
- one and only one. It contains all I need. It is called signedij.jar
My plugin is invoked via the following class name:
com/nrims/NRIMS_Plugin.class
OK, let's see here:
----------------------------
[dellfluor@bepstein][~/imagej/ij_jar_factory2] jar tvf signedij.jar |
grep NRIMS
142209 Mon Apr 12 15:39:06 EDT 2010 META-INF/NRIMS.SF
1017 Mon Apr 12 15:39:06 EDT 2010 META-INF/NRIMS.DSA
1140 Fri Apr 09 14:19:02 EDT 2010 com/nrims/NRIMS_Plugin.class
[dellfluor@bepstein][~/imagej/ij_jar_factory2]
----------------------------
So, looks like the classpath is fine.
And if I run it directly:
java -jar signedij.jar
it works fine.
Same if I run it as an applet.
But it fails to find the plugin if I run it via Web Start! That's what
is so puzzling!
Boris.
Johannes Schindelin wrote:
> Hi,
>
> On Fri, 9 Apr 2010, Boris Epstein wrote:
>
>
>> OK, I did edit the IJ_Props.txt file to point to the proper classes and
>> they seem to be in the class path (or, rather, they are in the JARs that
>> the .jnlp file contains) yet the plugins would still not run.
>>
>
> That is not enough information to work with. There is one way it can
> succeed. But thousands of ways it can fail, and you leave me guessing.
>
> If I had your problem, I would probably patch ij.jar to spit out several
> interesting things, such as the output of Class.forName(name) and
> IJ.getClassLoader.loadClass(name).
>
> Good luck,
> Johannes
>
--
*Boris Epstein
National Resource For Imaging Mass Spectrometry
<
http://www.nrims.hms.harvard.edu/>
Cambridge, MA
Mobile: (617) 816-9654*
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.