Java – 如何将下载的库添加到Eclipse项目中

huangapple go评论72阅读模式
英文:

Java - How to incorporate a downloaded library to Eclipse project

问题

我已从互联网上下载了一个 Java 库,希望在 Eclipse 的 Java 项目中使用。不幸的是,我对如何操作不太熟悉。查看下载的文件夹,发现有一个 build.xml 文件。我应该如何处理这个文件?以下是文件夹的屏幕截图:

英文:

I have downloaded a java libary from the internet that I hope to use in my Java project on Eclipse. Unfortunately, I'm not familiar with how to do this. Looking at the downloaded folder, it has a build.xml file. What am I supposed to do with this? Here's a screenshot of the folder:

Java – 如何将下载的库添加到Eclipse项目中

Sorry, if this is a silly question. I'm really new to Java programming, so if this is a duplicate, I'll gladly mark it as such.

答案1

得分: 0

我已经找到了这个问题的解决方案。涉及的项目是我从朋友那里得到的一个 Netbeans 项目,我试图将其导入到 Eclipse 中。有方法可以将 Netbeans 项目导入 Eclipse,但是一旦我与我的朋友澄清了问题,我就直接在 Netbeans 中打开它,而且效果很好。

不过,如果你需要的话,在这里 是我找到的有关将 Netbeans 项目导入 Eclipse 的内容。

英文:

I've figured out the solution to this question. The project in question was a Netbeans project I got from my friend and I tried to import it to Eclipse. There are ways to import Netbeans project into Eclipse, but once I clarified the issue with my friend, I simply opened it in Netbeans and it worked great.

If you need it, though, here is what I found for importing Netbeans projects into Eclipse.

huangapple
  • 本文由 发表于 2020年10月7日 11:47:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/64236891.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定