<HTML>
<BR>
I have compiled ITK 3.10.0 and CableSwig 3.10.0 for MacOSX with java wrappers. It appears that a jni file is not generated in the build process.<BR>
<BR>
java -cp /opt/itk/lib/InsightToolkit/InsightToolkit.jar:. MeanImageFilter<BR>
<BR>
MeanImageFilter Example<BR>
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /opt/itk/lib/InsightToolkit/libSwigRuntimeJava.jnilib<BR>
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1705)<BR>
at java.lang.Runtime.load0(Runtime.java:769)<BR>
at java.lang.Runtime.load(Runtime.java:757)<BR>
at InsightToolkit.itkbase.<clinit>(itkbase.java:60)<BR>
at InsightToolkit.itkImageFileReader_2DJNI.<clinit>(itkImageFileReader_2DJNI.java:797)<BR>
at InsightToolkit.itkImageFileReaderUS2.itkImageFileReaderUS2_New(itkImageFileReaderUS2.java:67)<BR>
at MeanImageFilter.main(MeanImageFilter.java:14)<BR>
<BR>
However, <BR>
/opt/itk/lib/InsightToolkit/libSwigRuntimeJava.so<BR>
does exist<BR>
<BR>
How would I manually generate the jnilib file?<BR>
<BR>
Thanks<BR>
<BR>
</HTML>
<BR>