How do I add imageJ/fiji libraries to my project build path in Eclipse?
Posted by Number5 on Jul 11, 2013; 10:33pm
URL: http://imagej.273.s1.nabble.com/How-do-I-add-imageJ-fiji-libraries-to-my-project-build-path-in-Eclipse-tp5003932.html
Hi, I'm new to ImageJ and I would like to know how to add the library to my build path (to use the functionality in my code)?
I've found a lot of documentation about creating plug-ins, but found next to nothing about using it as a third-party library. From what I have seen, it looks like I should add the ij.jar file to the build path (like with other libraries), but something won't let me and I was wondering if someone could tell me what i'm doing wrong?
Outside of Eclipse I can locate the jar file by right-clicking on the application and selecting 'show package contents', however in Eclipse I click on 'add external jars' and try the same thing, but only get the option 'quick look'. I can't seem to get to the jar file.
I've also tried dragging the file from my hard drive into eclipse and copying the file without any luck. I'm running Mac OSX Mountain Lion and Eclipse Juno.
Can anyone tell me what I'm doing wrong? or if you have another way of adding the library to a project please let me know!
Thanks!