简体   繁体   English

有没有办法运行eclipse中netbeans开发的java程序?

[英]is there a way to run the java programs that are developed in netbeans in eclipse?

i have done my project on netbeans IDE version 6.9.1 我在netbeans IDE版本6.9.1上完成了我的项目

And now i tried to switch the platform to eclipse. 现在我试图将平台切换到eclipse。

i couldn't see any similarities between the 2 IDE's 我看不出2 IDE之间的任何相似之处

I couldn't load the java files into the workspace. 我无法将java文件加载到工作区中。

please help me out! 请帮帮我!

Well, the project configuration and netbeans-specific features you used will of course not be preserved (though I believe netbeans generates ant scripts to build the project, and those should work fine in eclipse, perhaps after some tweaking). 那么,您使用的项目配置和netbeans特定功能当然不会被保留(虽然我相信netbeans会生成用于构建项目的ant脚本,并且这些应该在eclipse中正常工作,可能经过一些调整后)。

All you really have to do is create a new Java project, choose the existing project's root as location and then configure the source folders and build path (and perhaps some other things) to match the project's structure. 您真正需要做的就是创建一个新的Java项目,选择现有项目的根作为位置,然后配置源文件夹和构建路径(可能还有其他一些东西)以匹配项目的结构。

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

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