Login  Register

problem with using external jar-files with the "compile and run" command

Posted by Marko Ulbrich on Jan 15, 2006; 11:23pm
URL: http://imagej.273.s1.nabble.com/problem-with-using-external-jar-files-with-the-compile-and-run-command-tp3704060.html

Hi all,


I wrote a plugin for imagej, that imports a package called "Jama-1.0.2.jar".
The import-statement is the following:
import Jama.*;

When using the ImageJ "Compile and run..." command for my plugin, I get
the following error:

------------------------------------------------------------------------
Note: sun.tools.javac.Main has been deprecated.
C:\Programme\ImageJ\plugins\Template_Matching_.java:25: Package Jama not
found in import.
import Jama.*;
        ^
1 error, 1 warning
------------------------------------------------------------------------

What can I do to use the package "Jama-1.0.2.jar".
I copied this jar-File to my imagej-directory and to the plugins-directory.

What else can I do?
Thanks, Marko