External Java libraries/Packages

Posted by haider on
URL: http://imagej.273.s1.nabble.com/External-Java-libraries-Packages-tp5008328.html

Hello everyone,

I am writing a plugin that requires the need for external numerical libraries (ParallelColt and Vectorz in my case). I am using the Fiji script editor to write my functions. I tried importing ParallelColt by placing the jar file in the java folder inside Fiji: "Fiji.app/java/macosx-java3d/Home/lib/ext” .Then I tried importing it by writing: "import ParallelColt” or "from ParallelColt import jplasma" . And I get an error of module not found.

I tried placing the jar inside the Fiji plugins folder instead but with still no success. I also tried by using the folder with all the java classes of ParallelColt instead of the jar file and I still was not able to import the classes from my script.

I realize that this may be a very silly question but this is my first time working with Fiji and it is essential for my project to be able to use these external packages.

Thanks

Haider Khan