刚开始使用 Java 哪个 IDE 更适合我入门?

发布于 2024-10-19 01:25:38 字数 224 浏览 1 评论 0原文

我现在正在业余时间学习 Java(是的),并且已经开始了几个不同的教程。有的教程说使用NetBeans,有的说使用Eclipse。最终我想进入Android开发,因为我将在今年年底获得一部智能手机。

仅供参考:我刚刚获得评论员徽章。

更新:::::::::我也刚刚分别获得了“值得注意的问题”和“编辑”徽章

第二次更新::::在获得上一次更新中提到的两个徽章后不久,我还获得了学者徽章。

I am learning Java now (yay) in my spare time and have started several different tutorials. Some tutorials say to use NetBeans, some say to use Eclipse. Eventually I would like to get into Android development because i will be getting a smart phone at the end of this year.

FYI: I just earned Commentator Badge.

UPDATE::::::::I Have also just earned the "Notable Question" and "Editor" Badges respectively

2nd Update::::Soon after earning the two badges noted in the previous update, i also earned the Scholar Badge.

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

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

发布评论

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

评论(17

债姬 2024-10-26 01:25:38

如果您打算进行 Android 开发,我建议使用 Eclipse,因为 Android SDK 与 Eclipse 很好地集成。

If you're heading towards Android development, I would suggest using Eclipse, because the Android SDK nicely integrates with Eclipse.

不语却知心 2024-10-26 01:25:38

这将是一个非常主观的答案,但我喜欢 intellij。

社区版现在支持 Android 开发,我发现就功能而言,它通常比其他 ide 领先几年。

This is going to be a very subjective answer, but i like intellij.

The community edition now has support for android development, and I have found that it is usually a good few years ahead of the other ide's as far as features are concerned.

表情可笑 2024-10-26 01:25:38

从命令提示符开始。当你达到涅槃时,你的问题的答案就会呈现在你面前。 (如果您不这样做,请尝试 netbeans(适用于 GUI)或 eclipse(适用于 andriod 开发))。

start with the command prompt. when you attain nirvana, the answer to your question will present itself to you. (in case you don't, try netbeans (good for GUI) or eclipse (for andriod development)).

ら栖息 2024-10-26 01:25:38

安装一个。

尝试使用它。

喜欢吗?保留它。不喜欢它?尝试另一个。

重复。

一些可以尝试的列表:(还有更多!)

Eclipse // most popular
NetBeans // most popular for gui development
IntelliJ // holds its own in popularlity
BlueJ // simple
JGrasp // simple, made by a university for university students

最适合您的东西......只有您知道,所以只有您可以回答,并且只有在亲自尝试之后!

Install one.

Try using it.

Like it? Keep it. Don't like it? Try another.

Repeat.

The list of some to try: (there's plenty more out there!)

Eclipse // most popular
NetBeans // most popular for gui development
IntelliJ // holds its own in popularlity
BlueJ // simple
JGrasp // simple, made by a university for university students

The thing that make it best for you ... only you know, so only you can answer, and only after trying them yourself!

你的往事 2024-10-26 01:25:38

开始时最好的选择是使用简单的文本编辑器和命令提示符来编译/运行。

Your best bet when starting out is using a simple text editor and the command prompt to compile/run.

心不设防 2024-10-26 01:25:38

我喜欢 IntelllJ IDEA 专门针对初学者,因为您无需深入了解该工具即可快速上手。

如果您想将其用作简单的文本编辑器,这很容易,如果您想开始使用更高级的功能,它们是可以发现的。

例如,我在 Eclipse 中遇到的问题是,有时我发现很难知道下一步该做什么。但这可能是因为我更习惯IDEA。

社区版支持 Android

android 支持
(来源:jetbrains.com

I like IntellJ IDEA specially for beginners because you can get started very quickly without having to know deeply the tool.

If you want to use it as a simple text editor, it's easy, if you wan to start using more advanced features, they are discoverable.

The problem I've seen with Eclipse for instance, is sometimes I found it hard to know what to do next. But that's probably because I'm more used to IDEA.

The community edition has Android support.

android support
(source: jetbrains.com)

入怼 2024-10-26 01:25:38

如果这是您的第一种编程语言,那么这只是您最喜欢什么的问题。尝试 NetBeans;如果您喜欢它,请永远继续使用它,或者直到您开始讨厌它或它不能做您需要的事情。如果您不喜欢它,请尝试 Eclipse。冲洗,重复。您甚至可以在命令行中使用简单的文本编辑器和 javac。

这一切都取决于您此时的偏好和需求。例如,如果您刚刚开始学习 PHP 作为第一语言,我会告诉您使用 Notepad++。最终您将需要对调试、版本控制、PHPDOC 等的支持。您将不再使用 Notepad++,而是转向 Zend Studio 或类似的产品;但现在,您不需要花哨的东西。

就我个人而言,我主要使用 NetBeans(用于 Java/PHP),但编辑器有时有点挑剔。不过,这并不是什么令人衰弱的事情,如果我不懒的话,我可能可以解决选项中的大部分问题。这是第一个可以让版本控制插件(特别是 Git)正常工作的 IDE,所以我坚持使用它。公平地说,您现在可以在大多数 IDE 中轻松完成此操作。

不过,我正在尝试转换为仅使用 Eclipse。 Android SDK 是为了与它协同工作而构建的,而 Zend Studio 实际上是同一个程序,所以这一切都感觉非常熟悉。这是一个很好的例子,说明了我所说的个人需求和偏好。

If this is your first programming language, then it's just a matter of what you like best. Try NetBeans; if you like it, keep using it forever, or until you start hating it or it doesn't do something you need. If you don't like it, try Eclipse. Rinse, repeat. You could even get away with using a simple text editor and javac in the command line.

It all comes down to what your preferences and needs are at this time. If, for example, you were just starting to learn PHP as a first language, I'd tell you to use Notepad++. Eventually you're going to want support for debugging, version control, PHPDOC, etc. You'll outgrow Notepad++ and graduate to Zend Studio or similar; but for now, you don't need the bells and whistles.

Personally, I've mostly used NetBeans (for Java/PHP), but the editor is a bit finicky sometimes. It's nothing debilitating though, and if I wasn't lazy I could probably fix most of the issues in the options. It was the first IDE wherein I could get the version control plugins (for Git in particular) to work properly so I stuck with it. To be fair, you can do this easily in most IDE's now.

However, I'm trying to convert to using Eclipse exclusively. The Android SDK is built to work hand-in-hand with it and Zend Studio is practically the same program, so it all feels very familiar. This is a good example of what I mean by one's personal needs and preferences.

微暖i 2024-10-26 01:25:38

当我开始使用 Java 编程时,我们在课堂上使用 BlueJ。一开始,IDE 可能会为您做很多工作。

When I started programming in Java we used BlueJ in my class. An IDE will maybe do to much work for you in the start.

蘑菇王子 2024-10-26 01:25:38

如果你将来打算做Android,我肯定会推荐Eclipse。 Google 有一组插件可以很好地集成到 Eclipse 中。

我个人也更喜欢 Eclipse 而不是 NetBeans,但这只是我的意见。我也没有使用过 IntelliJ 等其他流行的 IDE,所以对此持保留态度。

If you are planning to do Android in the future, I would definitely recommend Eclipse. Google has a set of plugins that integrate really nicely into Eclipse.

I also personally prefer Eclipse over NetBeans, but that's just my opinion. I have also not used other popular IDEs like IntelliJ, so take that with a grain of salt.

泪痕残 2024-10-26 01:25:38
  1. 要学习java,请从notepad++或任何其他文本编辑器开始。这样您就可以熟悉java程序的路径设置、编译和运行。

  2. 当你想迁移到 Android 时,最好的选择是几天后迁移到 Eclipse。

  1. For learning java start with texteditor like notepad++ or any othere. So you can get familiar with setting path , compiling and running for java program.

  2. As you want to move to Android than best option is after some days move to eclipse.

黯然#的苍凉 2024-10-26 01:25:38

对于初学者我认为Netbeans会更好,Eclipse有时对新手来说有点困难。

For beginners I think Netbeans would be better, Eclipse is sometime a bit hard on novice.

孤蝉 2024-10-26 01:25:38

我在这里无法给出一个平衡的答案,因为我没有广泛使用 NetBeans,并且已经有好几年没有使用过 NetBeans,也没有使用过 IntelliJ(我听说 IntelliJ 非常好)。

我是一个 Eclipse 人。虽然有一定的学习曲线,但疯狂也是有方法的,一旦你学会了基本概念,它们就会带你走很长的路。这是一个强大的工具。

实际上,我现在使用 SpringSource Tool Suite,它是内置了一些面向 Spring 的扩展的 Eclipse。与他们所做的一切一样,SpringSource 在整合一个有凝聚力的发行版方面做得很好,如果您打算使用 Spring,那就太好了。但是,如果您刚刚开始使用 Java,那么它可能没有必要或没有帮助。

我会赞同其他人关于在命令行上使用良好的文本编辑器和 javac 的评论,至少在一段时间内是这样。如果您了解编译和运行过程中发生的情况,它将帮助您驱动任何 IDE。

但是,IDE 在 Java 中非常有价值。与 Ruby 或 Python 相比,它是一种冗长的语言,但一个好的 IDE 会为您管理样板文件,并为您提供出色的导航和重构工具。

I can't give a balanced answer here, as I haven't used NetBeans extensively, and not at all for some years, nor have I used IntelliJ (which I hear is very good).

I'm an Eclipse guy. There's a definite learning curve attached, but there is method to the madness and once you learn the basic concepts, they'll take you a long way. It's a powerful tool.

Actually, I use SpringSource Tool Suite nowadays, which is Eclipse with some Spring-oriented extensions built-in. As with everything they do, SpringSource does a nice job of putting together a cohesive distribution, and it's great if you're going to be using Spring. If you're just starting out with Java, though, it's probably not necessary or helpful.

I will second others' comments about starting with a good text editor and javac on the command line, at least for a little while. If you understand what's happening with the compile and run process, it will help you drive any IDE.

But, IDEs are highly worthwhile in Java. It's a verbose language compared to, say, Ruby or Python, but a good IDE will manage that boilerplate for you, and give you great navigation and refactoring tools.

无需解释 2024-10-26 01:25:38

Eclipse 通常在大型企业 Java 商店中大量使用,但 Netbeans 专门用于 Sun/Oracle 的培训课程。我推荐 Eclipse,因为它在行业中无处不在 - 但请尝试并使用它。除非您正在做一些非常复杂的事情,否则请学习如何不使用 IDE。当您学习 Java 基础知识或准备获得认证时,IDE 有时会提供过多的帮助,导致您无法正确学习语法。

Eclipse tends to be used a LOT in big corporate java shops, but Netbeans is used exclusively in Sun/Oracle's training courses. I'd recommend Eclipse because of its ubiquity within the industry - but try & learn to do without IDEs unless you're doing something really complex. When you're learning the basics of Java or when you're gearing up for certification the IDEs can provide too much of a crutch sometimes so you don't learn the syntax properly.

命硬 2024-10-26 01:25:38

Eclipse 非常流行,并且有一个很棒的 java 调试器(我听说比 Netbeans 更好)。如果您不打算编写 swing 应用程序,我会推荐 Eclipse。对于 Swing 应用程序,Netbeans 有一位出色的设计者。
我还听说 IntelliJ 是一个很棒的 IDE,但我不知道。

Eclipse is very popular and has a great debugger for java (I've heard better than Netbeans). If you are not going to program swing applications I would recommend Eclipse. For swing applications, Netbeans has a great designer.
I've also heard that IntelliJ is a great IDE but I don't know it.

独闯女儿国 2024-10-26 01:25:38

Google 为其许多技术提供了方便的 Eclipse 插件,例如 Android、GWT、AppEngine、因此,如果您对 Android 开发感兴趣,Eclipse 可能是一个不错的 IDE。我个人很高兴使用 Eclipse 进行 Java 开发,到目前为止还没有理由尝试 NetBeans。也许其他人可以更好地解释不同 IDE 的优缺点。这里有一个Java IDE 比较表,可能会有所帮助。

Google provides convenient Eclipse plugins for many of their technologies like Android, GWT, AppEngine, etc. So for that reason Eclipse would probably be a nice IDE if you are interested in Android development. I personally am happy using Eclipse for Java development and have had no reason so far to try NetBeans. Probably others can better explain the pros and cons of the different IDEs. Here is a comparison table of Java IDEs that may be helpful.

万水千山粽是情ミ 2024-10-26 01:25:38

这是我使用 Eclipse 和 Netbeans 几年来发现的:

Eclipse 臃肿且集成度不如 Netbeans,这可能是因为它比较旧。

Eclipse 有更好的 emacs 模式,并且这些年来收集了更多的工具。

Netbeans 的主要优点是 100% Java,因此我可以在我们所有平台和用户之间使用一个共享安装。无需担心每个人的个人系统上的配置不同。这主要是跨 Unix 平台的,因为 Windows 不太灵活。

正如人们所提到的,Android 使用 Eclipse 作为官方支持的开发平台,但也有 3rd 方插件在 Netbeans 中也能正常工作。

总的来说,它们非常相似,我来回切换没有太大问题。

This is what I've found using Eclipse and Netbeans for several years:

Eclipse is bloated and not as well integrated as Netbeans which is probably because it's older.

Eclipse has a better emacs mode and has collected more tools over the years.

Netbeans has the major advantage of being 100% Java, so I can have one shared install that's used across all our platforms and users. There's no worrying about different configurations on everyone's individual systems. This is mostly across Unix platforms as Windows is not nearly as flexible.

As people have mentioned Android is using Eclipse as the officially supported development platform, but there are 3rd party plugins that work just as well in Netbeans.

Overall they're similar enough I don't have much of a problem switching back and forth.

自由如风 2024-10-26 01:25:38

需要考虑的一件事是尝试拥有一个带有易于访问的控制台的 IDE。

对于我的大学课程(华盛顿大学),我们实际上使用了 Dr. Java,而我最终一直使用的一个功能是应用程序底部易于访问且始终存在的控制台。

作为初学者,您经常会发现自己想要查看是否 "0" == False 或者是否可以 转换 一个值并且它可以正常工作。

当处理具有多个类的大型程序时,我最终切换到 Eclipse,但发现使用 Eclipse 控制台不太直观。

One thing to consider is trying to have an IDE with an easily accessible Console.

For my university courses (University of Washington) we actually used Dr. Java, and a feature that I ended up using all the time was the easily accessible and ever present console at the bottom of the application.

As a beginner you often find yourself wanting to see if "0" == False or if you can cast a value and it works correctly.

I eventually switched to Eclipse when working with bigger programs with multiple classes, but found using the Eclipse console a lot less intuitive.

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