[英]Netbeans project in Eclipse
I am Java beginner. 我是Java初学者。 I have developed only two Java desktop applications and I use Eclipse as IDE.
我仅开发了两个Java桌面应用程序,并且使用Eclipse作为IDE。 Right now I wanted to work on this project https://nbjfuguesupport.dev.java.net/ All code is in Netbeans.
现在,我想从事这个项目https://nbjfuguesupport.dev.java.net/所有代码都在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.
我成功导入了Eclipse中源文件中使用的所有库,并且在Eclipse中的代码中没有显示任何错误。 The problem is that I don't know how to run that code from eclipse.
问题是我不知道如何从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. 使用谷歌,我发现Netbeans使用org.netbeans.core.startup.Main.main来启动项目,但是我在我的库中找不到。 Does anyone know in which .jar does this class come with netbeans 5.5 files.
谁知道此类与netbeans 5.5文件一起提供在哪个.jar中。 ??
??
Regards. 问候。
PS 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. PS我必须使用Eclipse,因为我有一个由3个人组成的团队,他们过去也只使用过Eclipse,因此我们需要此代码来帮助我们完成大学的类似项目。
You can find the core.jar file that contains Main class under: 您可以在以下位置找到包含Main类的core.jar文件:
C:\\Program Files\\NetBeans 5.5\\platform10\\core\\ C:\\ Program Files \\ NetBeans 5.5 \\ platform10 \\ core \\
You can simply include that in your Eclipse Java Build path. 您可以简单地将其包括在Eclipse Java Build路径中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.