Login  Register

Re: eslide/civilCapture plugin installation problem

Posted by Nicola B. on Apr 30, 2008; 12:50pm
URL: http://imagej.273.s1.nabble.com/eslide-civilCapture-plugin-installation-problem-tp3689171p3689172.html

Hi (sorry for the later, yesterday I can't answer you..)
It seems a problem due to a fact that program don't find lti-civil
package (Indeed, if you remove this package
message should be the same..).
To prevent problem try to put lti-civil in easy path (e.g.
"c:\lti-civil") avoiding use of spaces.
Today I test a new installation, since I don't remember procedure, I use
WindowsXP machine, imageJ without Java
(not bundled version..) and java jdk1.6.0_04 (earlyer installed).

1) restore original Imagej.cfg (if you lose it, uninstall imageJ, REMOVE
imageJ folder and THEN reinstall imageJ);
2) add in ImageJ.cfg after -Xmx594m follw:
-Djava.library.path="C:/lti-civil/native/win32-x86"
3) add in ImageJ.cfg into classpath -cp: "-cp
c:\lti-civil\lti-civil.jar;C:\...."

In this case (I've already done it) my Imagej.cfg contains follow THREE
lines:
---imagej.cfg---
C:\PROGRA~1\ImageJ\
C:\Programmi\Java\jdk1.6.0_04\bin\javaw.exe
-Xmx594m -Djava.library.path="C:/lti-civil/native/win32-x86" -cp
c:\lti-civil\lti-civil.jar;C:\PROGRA~1\Java\JDK16~1.0_0\lib\tools.jar;ij.jar;C:\PROGRA~1\ImageJ\ij.jar
ij.ImageJ
----------------

(cleary check your java home --> "C:\Program Files\Java\jdk1.6.0_04!!!!!")

I do it now and it works!!
Hope this helps,
 
  -nicola

Tim Strand ha scritto:

> I tied to install the eslide/civilCapture plugin in ImageJ.  When I try to
> run it, I get the following error message:
>
> Plugin or class not found: "civilCapture_"
> (java.lang.NoClassDefFoundError: com/lti/civil/swing/ImageFrame)
>
> As per the eslide instructions, I downloaded the CivilCapture plugin, and
> unzipped the contents into the ImageJ/plugins/eslide directory.  Then I
> downloaded the lti civil library and installed it at  C:\Program
> Files\Java\LTI_civil and changed the ImageJ.cfg to the following:
>
> .
> C:\Program Files\Java\jdk1.6.0_05\bin\javaw.exe
> -Xmx640m -Djava.library.path="C:\PROGRA~1\Java\LTI_civil\native\win32-x86"
>
> -cp
> C:\PROGRA~1\Java\JDK16~1.0_0\lib\tools.jar;ij.jar;C:\PROGRA~1\Java\LTI_civil\lti-civil.jar
> ij.ImageJ
>
> Any suggestions on what to do to correct the class not found error would
> be appreciated.
>
> Thanks,
> Tim
> ----------------------------------------------------------
> Tim Strand
> San Jose Research Center
> Hitachi Global Storage Technologies
> 3403 Yerba Buena Road
> San Jose, CA 95135
>
> Ph: 408-717-5556
>
>