Eclipse 中的 Netbeans 项目

发布于 2024-08-07 14:42:45 字数 522 浏览 3 评论 0原文

我是Java初学者。我只开发了两个 Java 桌面应用程序,并且使用 Eclipse 作为 IDE。现在我想从事这个项目 https://nbjfuguesupport.dev.java.net/ 所有代码都在 Netbeans 中。我成功导入了 Eclipse 中源文件中使用的所有库,并且 Eclipse 中的代码中没有显示任何错误。问题是我不知道如何从 Eclipse 运行该代码。我不知道哪个类有 main 方法。

使用 google 我发现 Netbeans 使用 org.netbeans.core.startup.Main.main 来启动项目,但我在我的库中找不到它。有谁知道这个类在哪个 .jar 中带有 netbeans 5.5 文件。 ??

问候。

PS 我必须使用 Eclipse,因为我有一个由 3 个人组成的团队,他们过去也只使用过 Eclipse,我们需要这些代码来帮助我们完成类似的大学项目。

I am Java beginner. I have developed only two Java desktop applications and I use Eclipse as IDE. Right now I wanted to work on this project https://nbjfuguesupport.dev.java.net/
All code is in Netbeans. I suceeded to import all libraries that are used in source files in eclipse, and I have no errors showing in code in Eclipse. The problem is that I don't know how to run that code from eclipse. I don't know which class has main method.

Using google I found out that Netbeans uses org.netbeans.core.startup.Main.main to start projects, but I cant't find this in my libraries. Does anyone know in which .jar does this class come with netbeans 5.5 files. ??

Regards.

P.S. I must use Eclipse because I have a team of 3 men who have also only used Eclipse in the past, and we need this code to help us in similar project for college.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

萌酱 2024-08-14 14:42:45

您可以在以下位置找到包含 Main 类的 core.jar 文件:

C:\Program Files\NetBeans 5.5\platform10\core\

您只需将其包含在 Eclipse Java 构建路径中即可。

You can find the core.jar file that contains Main class under:

C:\Program Files\NetBeans 5.5\platform10\core\

You can simply include that in your Eclipse Java Build path.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文