蚀。(Eclipse. Copy JAR file into project)

编程入门 行业动态 更新时间:2024-10-28 20:20:22
蚀。(Eclipse. Copy JAR file into project)

如何将JAR文件包含(不仅仅是引用)到现有项目中? 我通过使用项目属性 - 构建路径 - 添加外部罐子来添加它。 但是,当我导出我的项目,然后将其导入另一台计算机时,此库缺失。

How to include (NOT ONLY reference) JAR file into existing project? I added it by using Project properties - Build path - add external jar's. But when I export my project, and then import it in another computer, this library was missing.

最满意答案

将其拖到项目视图中,以便与其他任何文件一样显示在项目中。

右键单击项目视图中的jar并添加到构建路径。

Drag it into your project view so it appears in the project as any other file.

Right-click the jar in the project view and add to build path.

更多推荐

本文发布于:2023-07-08 12:30:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1076417.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Copy   Eclipse   JAR   project   file

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!