[ITK] [ITK-dev] problems with programs crashing -- potentially due to multiple versions of ITK?

Matt McCormick matt.mccormick at kitware.com
Mon May 2 13:58:40 EDT 2016


Hi Tim,

The behavior is likely unrelated to ITK unless you are using the
SCIFIO ITK plugin.  This plugin will pick up Java environmental
variables if set:

  https://github.com/scifio/scifio-imageio/blob/5baa6b28a5b56a9862fbb6aaac75ffd533852677/src/itkSCIFIOImageIO.cxx.in#L281-L286

HTH,
Matt

On Mon, May 2, 2016 at 1:46 PM, Tim Jackson <tj.jackson1226 at gmail.com> wrote:
> Thank you Dženan and Matt for your replies.
>
> I've always built ITK as static libraries, so I don't think that's what the
> problem is.  After using Dependency Walker as Matt suggested, it looks like
> the crashing is the result of a Java error.  It's looking for procedures in
> java.dll, zip.dll, and hpi.dll and not finding them, and then the program
> exits JAVAW.EXE with code 255.
>
> I originally thought this was a problem of conflicting ITK versions, but I
> realize too that I recently downloaded new versions of Java and changed the
> Java Path environmental variables in order to do plugin development for
> ImageJ.  Is it possible that something I changed is resulting in the ITK
> programs to find conflicting versions of java?  If so, how do I fix that?
>
> Best,
> Tim
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list