简体   繁体   English

如何在Eclipse中将ImageJ添加到构建路径中,以及在哪里可以找到ImageJ .jar文件?

[英]How can I add ImageJ to my build path in Eclipse, and where can I find the ImageJ .jar file?

I am extremely novice when it comes to using external libraries in my code. 在我的代码中使用外部库时,我是个新手。 I have been looking for an embarrassing amount of time on how to actually add this particular library to my build path. 我一直在寻找如何将特定的库真正添加到我的构建路径中的尴尬时间。

My main issue is that I cannot find the .jar file, or I don't know how to go from a cloned git repository to a jar file. 我的主要问题是找不到.jar文件,或者我不知道如何从克隆的git存储库转到jar文件。

Any help would be immensely appreciated. 任何帮助将不胜感激。

If it makes a difference, I am interested this Non Local Means Denoise Class , along with a few others. 如果有什么不同,我会对“非本地均值降噪类 ”以及其他一些方法感兴趣。

If you have the source code for that project, you can build it yourself (if, for instance, you're using maven just do "mvn install" and then look in the "target" directory for the jar). 如果您拥有该项目的源代码,则可以自己构建它(例如,如果您使用的是maven,则只需执行“ mvn install”,然后在jar的“目标”目录中查找)。

Regardless of how you get the jar, once you have it you can add it to the project in Eclipse by right-clicking on the project, going to "build path"... "configure build path" and then adding it as a library. 不管如何获取jar,一旦有了它,您都可以通过右键单击项目,转到“构建路径” ...“配置构建路径”,然后将其添加为库将其添加到Eclipse中的项目中。 。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM