Error when using jdistlib package



Hi all,

I am trying to create a plug-in, which uses the package jdistlib. It’s included in my plug-in dependency. However, once I’ve created the .jar plug-in and installed it into ImageJ, when I run it, I get the error message below:

(Fiji Is Just) ImageJ 2.0.0-rc-68/1.52g; Java 1.8.0_66 [64-bit]; Mac OS X 10.13.6; 779MB of 3641MB (21%)

java.lang.NoClassDefFoundError: net/sourceforge/jdistlib/disttest/NormalityTest
at ij.IJ.runUserPlugIn(
at ij.IJ.runPlugIn(
at ij.Executer.runCommand(
Caused by: java.lang.ClassNotFoundException: net.sourceforge.jdistlib.disttest.NormalityTest
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
… 6 more

What have I been doing wrong? I also use the Weka package in the same way, and it seems to work alright, but I’m implementing a new feature which uses jdistlib, but this does not work.

Any help is appreciated!