r/javahelp • • Mar 05 '14

What's the best IDE for Java?

1 Upvotes

21 comments sorted by

4

u/[deleted] Mar 05 '14

Way to start a religious war...

0

u/[deleted] Mar 05 '14

[deleted]

2

u/[deleted] Mar 05 '14

My religious take: If you're new to programming, stick to vim/notepad. It brings home the point that an IDE is just a fancy editor, and that the compiler doesn't give a crap what tool you use to edit your code. You'll also learn how to use the command line to compile code, and commit/push code to a repository. If you're a little more ambitious you'll also learn Make, Ant, Maven or Gradle. Once you have the basics down, then take your pick of IDEs. You'll have a better understanding of what the IDE is doing under the covers and things it does won't seem like such a mystery. (I've seen too many recent grads who have no clue.)

0

u/[deleted] Mar 05 '14

[deleted]

2

u/[deleted] Mar 05 '14

I'd say to anyone with equivalent knowledge to a CS101 course, who knows how to use the compiler directly, understands whatever build tool they use (from the command-line), and knows how to clone/checkout/commit/branch/merge/push with their SCM system (again, from the command-line), "feel free to use whatever editor you like." That would include Sublime Text. Just be aware that you'll likely be "encouraged" to use one of the "big three" (IntelliJ, NetBeans, Eclipse) wherever you land a job. So you'll want to be at familiar with all of them and proficient with at least one. Treat an IDE like a car. You'll be most comfortable with your favorite, but you should be able to take the others out for a spin with little trouble.

2

u/MooseV2 Mar 05 '14

IntelliJ is by far the best. Its strengths really shine when you compare its refactoring capabilities. Of course, it does so much more.

I have the ultimate edition because I do web dev during the day and appreciate the features, but check out the free edition. It's the only Java IDE you'll ever need.

2

u/[deleted] Mar 05 '14

IntelliJ IDEA is my favorite. However, if you're beginning, I recommend Eclipse.

3

u/snot3353 COMPUTERS!!! Mar 05 '14

Eclipse, IDEA and NetBeans are all more than competent. I personally prefer IDEA by a pretty wide margin. The only issue with it is that the free community edition is a little lacking compared to ultimate which costs a few bucks ($200 I think).

1

u/memonkey Mar 05 '14

I hear they do sales/promotions once a year though. So like $100 for the ultimate edition which is leaps and bounds better than the community edition.

The community edition is however just as good if you're barely starting out.

2

u/SikhGamer Mar 05 '14

NetBeans! Generally, the other two big contenders are Eclipse and IntelliJ.

I started with NetBeans, and I'm just used to it now. Tried Eclipse a few times, didn't gel with me. And it seemed much more clunkier to me. IntelliJ looks good, but I haven't given a fair go yet. I'm already using JetBrain's other IDE such as PyCharm and PhpStorm. And they do make awesome IDEs, so I look forward to giving IntelliJ a proper go.

1

u/SacrosanctHermitage Mar 05 '14

Love pycharm so much - way better than the PyDev plugin for eclipse, mostly because it has better autocomplete.

1

u/Sacredify Mar 05 '14

Personal preference. I use Eclipse at home for school projects that don't really require anything other than syntax highlighting and auto-complete (obviously eclipse supports more, but you get the idea), as well as for the c/c++ plugin. At work though, we use Intellij.

1

u/shibaware Mar 05 '14

I like Eclipse but I've heard good things about IntelliJ IDEA

Eclipse: https://www.eclipse.org/downloads/

IntelliJ IDEA: http://www.jetbrains.com/idea/download/

3

u/SacrosanctHermitage Mar 05 '14

I've heard intlliJ is less of a resource hog than eclipse

1

u/raistlinmaje Mar 05 '14

In my experience it is better, sometimes I have had intellij taking up about half the resources if eclipse with the same project open. This was awhile ago, I believe it was eclipse 4.1 or 4.2 I vaguely remember hearing memory usage improved at some point but have never gone back to eclipse.

1

u/hamc17 Mar 05 '14

Eclipse or Intellij seem to be the standard these days.

Personally I prefer Intellij, as it gives you autofilled available options for things, e.g. after typing the "." after String

String.equals(Object object)                   boolean
      .length()                                int
      .matches(String regularExpression)       boolean

Etc.

Really helpful.

6

u/snot3353 COMPUTERS!!! Mar 05 '14

Just to be fair, all the popular IDEs do auto completion and suggestions like that.

1

u/hamc17 Mar 05 '14

I was unaware! Whenever I used Eclipse it never did that, maybe it wasn't enabled or something.

3

u/procrastinatorDaz Mar 05 '14

CTRL+Space if it's not showing up, this is what it looks like in eclipse

-4

u/procrastinatorDaz Mar 05 '14

Personally, I much prefer Eclipse.

My advice though, avoid NetBeans; Difficult to use and slows down productivity.

http://eclipse.org/

4

u/rp181 Mar 05 '14

Netbeans used to be pretty terrible, but now, IMO, is way better than eclipse. Plus, the RCP is awesome.

2

u/drgnwarrior Intermediate Brewer Mar 05 '14

I have to disagree. I use Eclipse at work, but at home I prefer NetBeans. Eclipse is powerful and very customizable. But I spend far too much time configuring it to get it to work right. It works great out of the box, but by the time you add Maven, Version control (I use Subversion at work, Git at home), and any other libraries (generated code from CXF has been very troublesome for me), configuration begins to become an issue.

Netbeans handles all those out of the box, and as a bonus will auto-deploy to tomcat for testing and debugging. Something I'm still having trouble getting Eclipse to do. I know its possible, but it's a configuration issue.

Eclipse is more configurable and has more plugins. Netbeans is more streamlined, and tends to "just work."

3

u/Lerke Mar 05 '14

Poor advice. Eclipse is a decent IDE, but I firmly disagree with avoiding Netbeans. It's a good IDE, it's not more or less complex than its alternatives and it doesn't, in any way, reduce productive. Whatever gave you this idea?

@OP: Try out some of the popular IDE's, at least look at the three big ones: Eclipse, IntelliJ and Netbeans.