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 |
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 > > |
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 > > |
Times ago I remember I had same problems..
I resolved with follow procedure: 1) Download and install java JKD 6 update 6 (http://java.sun.com/javase/downloads/index.jsp) 2) Uninstall ImageJ, REMOVE installation directory (c:\imageJ) and reinstall version without java bundle. (http://rsb.info.nih.gov/ij/download/win32/ij140-nojre-setup.exe) 3) Install plugin (follow instructions in readme) and MODIFY (not substitute) existing "imageJ.cfg". A little note: all plugin files should be place into c:\imageJ_HOME\plugin\eslide (not place them into subdirectories..) A dummy question: are you using windows? what version? Hope this helps, Regards, -nicola Tim Strand ha scritto: > 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 >> >> >> > > |
Dear Nicola,
I'm trying to install the CivilCapture plugin using the MBF ImageJ Bundle and having the same problem Tim had. You suggest a solution to reinstalling the whole ImageJ and by updating the JDK in Tim's problem. I'd like to ask, is that possible that the bundle has something to do with the problem and I really have to reinstall it? Because, this bundle is really helpful in my work with the microscope and reinstalling it would mean me searching and installing those plenty plugins one by one. If not, what should I do? Thanks ----- Widodo D. Putro Medical Physics Laboratory Bandung Institute of Technology Jl. Ganesha 10 Indonesia, 40132 |
If you are working under MS Windows, there are alternatives. I have written
a small macro to use the Windows video capture applications AMCap/StillCap - details are on: http://www.neutronoptics.com/ijinstall.html Basically this script allows ImageJ to open AMCap to display the video camera in real time, then take a snapshot and automatically correct for noise, barrel/pincushion distortion etc using ImageJ plugins. It will even capture twin cameras and stitch their images together if required. It is based on the ImageJ Video Capture tool http://rsb.info.nih.gov/ij/macros/tools/VideoCaptureTool.txt but uses AMCap/StillCap instead of VirtualDub. Unlike eslide/civilCapture these scripts allow capture of greater than 640x480 video; I use it to capture 752x582 PAL video from high efficiency integrating cameras. Alan. On 1 March 2010 10:11, Widodo D. Putro <[hidden email]> wrote: > Dear Nicola, > > I'm trying to install the CivilCapture plugin using the MBF ImageJ Bundle > and having the same problem Tim had. > > You suggest a solution to reinstalling the whole ImageJ and by updating the > JDK in Tim's problem. > I'd like to ask, is that possible that the bundle has something to do with > the problem and I really have to reinstall it? Because, this bundle is > really helpful in my work with the microscope and reinstalling it would > mean > me searching and installing those plenty plugins one by one. > > If not, what should I do? > Thanks > > ----- > Widodo D. Putro > Medical Physics Laboratory > Bandung Institute of Technology > > Jl. Ganesha 10 > Indonesia, 40132 > Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE <[hidden email]> +33.476.98.41.68 http://www.NeutronOptics.com/hewat ______________________________________________ |
In reply to this post by Widodo D. Putro
Nicola is no more working on ImageJ plugins; I'm sure it is possible to avoid reinstalling, working a little. Anyway, I cannot now try by myself (also because maybe I do not have emails describing the problem).
Regards, Vincenzo Il giorno 01/mar/2010, alle ore 10.11, Widodo D. Putro ha scritto: > Dear Nicola, > > I'm trying to install the CivilCapture plugin using the MBF ImageJ Bundle > and having the same problem Tim had. > > You suggest a solution to reinstalling the whole ImageJ and by updating the > JDK in Tim's problem. > I'd like to ask, is that possible that the bundle has something to do with > the problem and I really have to reinstall it? Because, this bundle is > really helpful in my work with the microscope and reinstalling it would mean > me searching and installing those plenty plugins one by one. > > If not, what should I do? > Thanks > > ----- > Widodo D. Putro > Medical Physics Laboratory > Bandung Institute of Technology > > Jl. Ganesha 10 > Indonesia, 40132 > -- > View this message in context: http://n2.nabble.com/eslide-civilCapture-plugin-installation-problem-tp636759p4653186.html > Sent from the ImageJ mailing list archive at Nabble.com. * Vincenzo Della Mea * Medical Informatics, Telemedicine and Ehealth Lab * University of Udine, Italy * http://www.dimi.uniud.it/dellamea/ - http://mitel.dimi.uniud.it/ - http://www.eslide.net * WHO Italian Collaborating Centre for the Family of International Classifications |
you wrote:
> I'd like to ask, is that possible that the bundle has something to do > with the problem and I really have to reinstall it? Because, this bundle > is really helpful in my work with the microscope and reinstalling it > would mean me searching and installing those plenty plugins one by one. You could zip your /plugins /macros and /lut folders, reinstall and expand those again. You should not lose any of the installed plugins that way unless there are any external libraries installed in the jdk folders (like those needed for Java3D). G. |
Free forum by Nabble | Edit this page |