我可以在 XCode 3.2.1 中编写 Java 代码吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1963226/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 01:51:25  来源:igfitidea点击:

Can I write Java code in XCode 3.2.1?

javaxcode

提问by Piotr Z

I would like to know is there any way to program (write, compile and execute) Java in XCode as I don't see any Java templates. Does that mean that it's not possible?

我想知道有什么方法可以在 XCode 中编程(编写、编译和执行)Java,因为我没有看到任何 Java 模板。这是否意味着这是不可能的?

回答by Johannes Rudolph

AFAIK no, you should really use Eclipsefor Java development on the OS X Platform.

AFAIK 不,您真的应该在 OS X 平台上使用Eclipse进行 Java 开发。

回答by Gregory Pakosz

Click Choose Window > Organizer to open the Organizer. Then click + at the bottom of the Organizer. Choose New From Template > Java Templates.

单击选择窗口 > 管理器以打开管理器。然后单击管理器底部的 +。选择从模板新建 > Java 模板。

Anyway, I personally feel better with Eclipsefor Java development.

不管怎样,我个人感觉用Eclipse进行 Java 开发更好。

回答by rlovtang

Do you really want to? I recommend checking out any of the really good and free Java IDEs; IntelliJ IDEA CE, Eclipse, or NetBeans.

你真的想要吗?我建议查看任何真正优秀且免费的 Java IDE;IntelliJ IDEA CE、Eclipse 或 NetBeans。

回答by trashgod

I usually use NetBeansor Eclipse, but the Xcodedesign toolis delightful. The "Quick Model" feature is specially handy for visualizing an existing class library. Choosing New Filefrom the Filemenu should show Java templates, and you'll find example projects in /Developer/Examples/Java/.

我通常使用NetBeansEclipse,但Xcode设计工具令人愉快。“快速模型”功能对于可视化现有类库特别方便。New FileFile菜单中选择应该会显示 Java 模板,您将在/Developer/Examples/Java/.

回答by user496208

Netbeans is a really good IDE nowadays. I've been using it from version 3.6 and it has had a huge improvement phase until current Netbeans 6.9.1 Good support for third party frameworks like Spring and of course the best support for Swing applications (desktop applications)

Netbeans 现在是一个非常好的 IDE。我从 3.6 版本开始使用它,它有一个巨大的改进阶段,直到当前的 Netbeans 6.9.1 对 Spring 等第三方框架的良好支持,当然对 Swing 应用程序(桌面应用程序)的最佳支持

回答by Mike

Eclipse is horrible. Complex, slow, hard to use, makes simple tasks complicated. If you have to use an IDE, use Xcode. Otherwise, I find a text editor and Make to be much cleaner and easier.

日蚀太可怕了。复杂、缓慢、难以使用,使简单的任务变得复杂。如果您必须使用 IDE,请使用 Xcode。否则,我发现文本编辑器和 Make 更简洁、更容易。