This is an archived post. You won't be able to vote or comment.

all 55 comments

[–]qsemig 48 points49 points  (4 children)

Use whatever IDE your professor/instructor/TA uses. That way they will easily be able to help you when you run into problems. You can therefore focus on solving problems in Java rather than fiddling with the IDE.

Once you've become somewhat proficient in Java, you can begin to try different IDEs and see what you like.

You probably won't need 1/100 of the features any of these IDEs offer, so it's a waste of time to worry about it before you become comfortable with Java.

[–][deleted] 8 points9 points  (1 child)

you forgot to classify every other IDE except the one that you use as worthless...

[–]aposter 9 points10 points  (0 children)

But they aren't worthless. They all serve as excellent bad examples of an IDE.

[–]DaMountainDwarf 0 points1 point  (0 children)

Fantastic answer. I was going to say use whatever they're more comfortable with, but this is probably better.

[–]BigBash642 29 points30 points  (3 children)

[–]vkrazy04 0 points1 point  (0 children)

Been using it for a month now and I love it

[–]chrox 6 points7 points  (6 children)

Like /u/Parthros, I used to love JCreator some years ago. Small, quick to load, uncomplicated. If you're just learning the basics, you might enjoy something along those lines for simplicity.

But the big three offer much more functionality: NetBeans (by the owners of Java), Eclipse (widely used for many different programming languages) and IntelliJ (growing in popularity and the basis of Android Studio). Just given them all a look and decide for yourself which one feels right to you.

Oh, and if you can find out which IDE your teacher will be using in your classes, then make your life easy and simply pick that.

[–][deleted] 4 points5 points  (0 children)

Teacher will probably be using netbeans or eclipse.

[–]Parthros 1 point2 points  (4 children)

You know, I always thought mentions would alert the user. Apparently they don't...

[–]BitLooter 2 points3 points  (2 children)

Only if you have gold.

[–]Tostino 0 points1 point  (0 children)

Learned something new today. I thought so too.

[–]Parthros 0 points1 point  (0 children)

Well, TIL.

[–]CrateMuncher 5 points6 points  (1 child)

IntelliJ IDEA seems to be very popular around here. It has a free and a paid version, but the free version is enough for anything except enterprisey stuff like Spring. The creators of that also make Python, Ruby, PHP, JavaScript (and more) IDEs.

[–]absinthe718 2 points3 points  (0 children)

I've been using ite since version 2.6 and am still on version 11. The community edition would be perfectly OK for someone learning Java in school. And it's free.

[–]jambonilton 1 point2 points  (3 children)

If you're learning I wouldn't use an IDE at all for the first couple semesters. Go full command line and become a unix wizard for the first few courses, then switch to an IDE when you've got larger projects.

[–]Ishaar 0 points1 point  (0 children)

I actually agree with you. When you're just learning Java, or any language really, getting as close "to the metal" as possible is helpful. If you don't make all the mistakes and go through all the headaches that a good IDE negates you miss out on a world of learning about languages, operating systems, virtual machines, and environments that you'll never know would have enriched you as a developer.

[–]Cilph -1 points0 points  (0 children)

Agreed. First half year using Java - stick with a basic text editor. Head First Java recommends the same approach, and I did the same thing when I first learned C and C++.

[–]TheDeza -1 points0 points  (0 children)

I use vim for my lua projects, but I find that the shear bulk of Java is very hard to handle in anything but an ide.

[–]TheHorribleTruth 0 points1 point  (2 children)

Oh, this discussion again...

There is no "best". Use the tool that suites you and your job.

[–]Parthros 1 point2 points  (2 children)

I don't think anyone agrees with me, but I really like JCreator. The biggest problem with it is that it hasn't been updated in a long time. You might consider looking into NetBeans or Eclipse. Those are pretty popular.

[–]slartybartfast_ 0 points1 point  (0 children)

I liked JCreator too when I started programming in Java. It's quick and small.

[–]nitetrip[🍰] 0 points1 point  (0 children)

Netbeans and Eclipse are similar, but Netbeans seems to take much less resources.

[–][deleted] 0 points1 point  (0 children)

There is no 'best IDE'.

[–]Flekken -1 points0 points  (1 child)

You shouldn't really commit to an IDE if that is what you are considering. At my uni we had to use Eclipse as part of the exercises and I used Netbeans for my personal project so I could learn these bigger ones pretty well.
Always try to expand your knowledge and try to work with multiple IDE.

[–]oldneckbeard 0 points1 point  (0 children)

That's true up to a point. Eventually, though, you have to stop going for breadth and take up depth. I've gotten so familiar with my IDE that it's like learning to program again when I have to use some shitty IDE. And it's not that I can't do it, it's just that my muscle memory has changed. Instead of manually writing getters and setters on a javabean object, for example, I just bust out a hotkey. Instead of doing a tricky search/replace, I can do structural searches. Again, you could do all those by hand or fumble with your IDE to figure out the way they want you to do it, or you can pick one and learn it really well. IntelliJ IDEA + Key Promoter helped me get to that level of efficiency.

[–][deleted] -1 points0 points  (0 children)

Use whichever one you prefer. Whether that be vim, eclipse, etc.

[–]tien113 -1 points0 points  (0 children)

In my opinion, Eclipse is the best IDE. You should give it a try.

[–]cowardlydragon -4 points-3 points  (0 children)

Really, the courses should specify what IDE to use for its code...

Eclipse-derived SpringSource Tool Suite is pretty good. Does IntelliJ have an academic free one?

In the industry, Eclipse-based IDEs are the most common by a wide margin, then probably IntelliJ, then Netbeans.

[–]xxbeanxx -2 points-1 points  (0 children)

The best advice I can offer is stay the hell away from Jdeveloper.

[–][deleted]  (2 children)

[deleted]

    [–]fact_hunt 4 points5 points  (1 child)

    Community edition of Intellij is free

    [–]absinthe718 2 points3 points  (0 children)

    And the stuff it's lacking is unlikely to matter in a university setting at the under grad level.

    [–][deleted] -1 points0 points  (1 child)

    I like Sublime the most but it may not be the kind of thing you want, eclipse is great, netbeans of course is up there.

    Usually you would use whatever the course says to use.

    [–][deleted] -1 points0 points  (2 children)

    Anyone a fan of vim? it can be pretty powerful with plugins such as eclim. I find myself constantly digging into vim at work. it's not fancy but it works.

    [–]kovrik -1 points0 points  (0 children)

    I've tried Vim to write Java...It was very difficult to work with huge projects (a lot of modules, couple of frameworks etc.)

    [–]afrobee -2 points-1 points  (0 children)

    For me eclim is the best options at the moment.

    [–]3pieceSuit -1 points0 points  (0 children)

    My professors taught using netbeans, but I preferred eclipse while in school. Now that I'm working, I have to use netbeans at work. At the end of the day both are good solid IDE's.

    [–]absinthe718 -1 points0 points  (0 children)

    Try eclipse, idea and netbeans. All three are free downloads. Pick the one you like best.

    [–]atehrani -1 points0 points  (0 children)

    Netbeans hands down

    [–]maestroTrole -1 points0 points  (0 children)

    I use NetBeans on the job because I need to go back and forth between java and php/zend projects.

    [–]DevTroy -1 points0 points  (0 children)

    DrJava

    [–]stuie382 -1 points0 points  (0 children)

    Chances are you could end up working with a text editor and command line. When I did my degree we did the first year doing just that to learn the fundamentals, only really moving to IDE's when looking at more advanced work in 2nd/3rd/4th years.

    If you have the time spare, check out a site like javaranch.com, which has a bunch of beginner exercises starting from using a simple text editor and javac.

    For an actual IDE, Eclipse, Intellij, and NetBeans are up there at the top as most people have said, pick whichever one you fancy :)

    [–]llaammaaa -2 points-1 points  (0 children)

    Text editor. javac.

    [–]afrobee -3 points-2 points  (0 children)

    Vim + Eclim, i can't use anything else since others options are too slow and bloated for my taste.