Login  Register

Re: eslide/civilCapture plugin installation problem

Posted by Tim Strand-2 on Apr 30, 2008; 9:23pm
URL: http://imagej.273.s1.nabble.com/eslide-civilCapture-plugin-installation-problem-tp3689171p3689173.html

Nicola,

Thanks for your suggestions.  I moved LTI_civil to "C:\LTIcivil" and
changed the ImageJ config file to:

.
C:\Program Files\Java\jdk1.6.0_05\bin\javaw.exe
-Xmx640m -Djava.library.path="C:/LTIcivil/native/win32-x86"
-cp
C:\LTIcivil\lti-civil.jar;C:\PROGRA~1\Java\JDK16~1.0_0\lib\tools.jar;ij.jar
ij.ImageJ

However I still get the same error message when I try to execute the
civilCapture_ plugin: "Plugin or class not found: "civilCapture_".

You think this is still a problem with finding LTI-civil even though the
error message is for not finding civilCapture_.  That class is in the
"C:\Program Files\ImageJ\plugins\eSlide" directory.

If you have any other suggestions, let me know.

Thanks,
Tim
----------------------------------------------------------
Tim Strand
San Jose Research Center
Hitachi Global Storage Technologies
3403 Yerba Buena Road
San Jose, CA 95135

Ph: 408-717-5556



"Nicola B." <[hidden email]>
Sent by: ImageJ Interest Group <[hidden email]>
04/30/2008 05:50 AM
Please respond to
ImageJ Interest Group <[hidden email]>


To
[hidden email]
cc

Subject
Re: eslide/civilCapture plugin installation problem






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
>
>