Login  Register

Re: Jama/.jar incompatibility

Posted by Michael Doube on Oct 19, 2009; 9:40am
URL: http://imagej.273.s1.nabble.com/Jama-jar-incompatibility-tp3690705p3690708.html

Hi Joachim

Thanks for your interest in the class.

Check out the compiled plugin I sent off-list.

I use Sun JRE 1.6.0_10 (on XP) and _15 (on Ubuntu) and _16 (on Vista)
and all work fine.

I'd really appreciate it if some of the more mathematically-inclined
list members could take a look at the error-estimating method
getErrors() and tell me how to get a better estimate of error in the
estimated parameters (x, y) and R.

http://github.com/mdoube/BoneJ/blob/master/src/org/doube/bonej/FitCircle.java

Cheers,

Michael

Joachim Wesner wrote:

> Hi list,
>
> I was going to take a look at Michael Doube“s Circle-Fitting library and
> test plugin. The library requires Jama .jar which I copied in the latest
> version 1.0.2 to the plugins folder.
>
> I can compile Micheal“s library but it will not run (using the internal
> ImageJ editor and compile-and-run mechamism): (javaclassnotfounderror:
> Matrix, i.e in Jama)
>
> On another website I found the hint that there might occur an
> incompatibilty to the JRE that ImageJ uses (I use the built-in 1.6.0_02 and
> ImageJ 1.43h), and indeed I can get the code
> to run if I get the Jama sources and copy those to a subdirectory Jama of
> "plugins" (I have "plugins" in the Imagej class path) and recompile all
> classes localy.
>
> Nevertheless, I do not seem to be able to recreate a working Jama.jar (The
> plugin and library compile when using the new jar but later again i get:
> javaclassnotfounderror: Matrix
>
> What is the reason for the incompatibilty and how to create a valid on? Any
> hint would be appreciated!
>
> Joachim
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________