Slashdot Mirror


Java Development: Eclipse or IntelliJ IDEA?

Java_Good_COBOL_Bad asks: "For Java development, would most people recommend using Eclipse or IntelliJ IDEA? I am currently using Eclipse and it took a long time to get the environment set up. I understand that Eclipse is a framework that can be used for many things, not just Java development, but all I really need is an IDE for Java. So, I wonder if Eclipse is more complex than I need. I have never used IDEA before. Is it more straight-forward? Has anybody here migrated from Eclipse to IDEA? How steep was the learning curve?"

122 comments

  1. Let me see if I've got this straight... by Fished · · Score: 3, Interesting
    You've spent a great deal of time and effort to get Eclipse setup, and are apparently using it with at least some success. However, you are debating whether to switch to something with less features because you're not sure if you need all of Eclipses features. Therefore, you are proposing to go to a very different, but very feature rich programming environment that will cost money?

    Huh? If it's working, why switch?

    I bet you were one of those "vi" types back in the day, weren't you? No editor can ever have too many features: Emacs all the way!

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    1. Re:Let me see if I've got this straight... by Otter · · Score: 3, Insightful

      I think his point is that he's still fighting with Eclipse, and is wondering if switching to something simpler might require less effort than continuing with Eclipse is going to demand.

    2. Re:Let me see if I've got this straight... by gangien · · Score: 1

      i dunno i always found eclipse to be tricky.. I never fully liked it. Then i got employed at my current employer and the senior people said I should try Intellij.. I fell in love. Does everythin I want it to, is pretty well customizable, has plugins ect ect.. I do not miss eclipse (or the few days I used net beans for that matter)

    3. Re:Let me see if I've got this straight... by blippo · · Score: 1

      As a long time Eclipse user, I really enjoy its refactoring help
      and configurability...

      I imagine that starting to use Eclipse is no harder than starting to use
      any other IDE, but maybe IntelliJ is more streamlined?

      What are the tricky parts with Eclipse? What wasn't clear?

      I can imagine that checking out code from a repository (cvs or other)
      as a first task may be a bit tricky? You might need to install a
      plugin, and then select between some options on how to check out
      the code?

      Anything more? Just interested...

    4. Re:Let me see if I've got this straight... by Anonymous Coward · · Score: 0

      You don't know what you're talking about. Having used both Eclipse and IntelliJ IDEA, I can tell you without any reservations that IDEA *BURIES* Eclipse. Eclipse has the whole wonky OSS "home-made" feel to it. IntelliJ is the best code editor out there BY FAR.

    5. Re:Let me see if I've got this straight... by Java_Good_COBOL_Bad · · Score: 1

      > Eclipse allows you to use the GUI to specify library dependencies, or you can save time by editing an Eclipse file called .classpath. The .classpath file is in XML format. Sometimes when I make a minor change it tells me that my changes are "not valid XML". I can't for the life of me figure out why. They sure look valid to me. Eclipse has the concept of "views", which are visual panels. There is a "package explorer" view, which you use to browse your Java packages. Eclipse seems have two different notions of directories: "Folders" and "Source Folders". I had problems because my main Java directory was defined as a "folder" instead of a "source folder". It's easy to change it to a "source folder" once you figure out what the problem is, but you don't get any kind of useful error message - it just doesn't work. I use Eclipse for J2EE development, so I bought the MyEclipse plugin. It's only $30, but that's $30 PER YEAR. I was using JRE 1.4.1, but MyEclipse required 1.4.2 so I have to go get that and point Eclipse to it. MyEclipse can handle JSP comments like but it can't seem to handle html comments like . Every time I use HTML comments, it appears that everything from that point down has an error. I can't imagine there could be such a major hole in the product, so I suspect that it's something about the way I have things configured. But what? Also, all of the JSP includes are appearing as errors, and I'll be damned if I can figure out why.

    6. Re:Let me see if I've got this straight... by neelm · · Score: 1

      > I bet you were one of those "vi" types back in the day, weren't you? No editor can ever have too many features: Emacs all the way!

      Actually, it sounds more like he installed Emacs and is wondering does he really need a whole OS running inside the editor when he just wants to change some text...

      Vi / Emacs aside, what about eclipse is hard? I've just recently installed it for Java development and found it pain free and pretty simple. I know there are features I don't know about or know how to use, but they are not in my way and I find them as I go.

    7. Re:Let me see if I've got this straight... by fuzzylollipop · · Score: 1

      Idea has MORE features if anything than Eclipse when it comes to smooth Java development. Intellij IDEA is hands down _THE_ development environment for Java! That said, I do use Eclipse for all my Python development, and even then Komodo is prefered to Eclipse.

    8. Re:Let me see if I've got this straight... by anonymous_wombat · · Score: 1
      I bet you were one of those "vi" types back in the day, weren't you? No editor can ever have too many features: Emacs all the way
      What do you mean, "back in the day?"
    9. Re:Let me see if I've got this straight... by rjshields · · Score: 1
      I had problems because my main Java directory was defined as a "folder" instead of a "source folder".
      Sorry but this is sooo easy to figure out, you go Project -> Properties -> Source -> Add folder, and if you really couldn't figure this out you could always try reading the fucking manual.
      you don't get any kind of useful error message
      Yeah, probably because it's NOT AN ERROR. As if Eclipse doesn't make things easy anough already, asshats have to come along complaining it's too hard to use. It's about the most easy and intuitive Java IDE ever.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    10. Re:Let me see if I've got this straight... by rjshields · · Score: 1

      I just re-read that post and it sounds very harsh. Please don't take offence I'm just having a bad day :-/

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    11. Re:Let me see if I've got this straight... by Java_Good_COBOL_Bad · · Score: 1

      No problem... asshat. ;-)

    12. Re:Let me see if I've got this straight... by rjshields · · Score: 1
      No problem... asshat. ;-)
      LOL!
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  2. don't forget netbeans- "ide religion" by acomj · · Score: 4, Interesting

    If your doing java development netbeans is an option. Eclipse has forced it to become much better. Although it doesn't use SWT. I prefer eclipse, but have friends who swear by net beans. Unlike most people in this situation we still talk to one antoher (java ide's seems to cause religous battes, like vi vs emacs.. etc..). This kind of battles are silly.

    http://www.netbeans.org/
    http://community.java.net/netbeans/

    than there is sun's java studio...what is this?? I don't know , but its free now and seems to be yet another ide.

    http://developers.sun.com/prodtech/devtools/free/i ndex.html?cid=16052

    1. Re:don't forget netbeans- "ide religion" by junkgui · · Score: 4, Informative

      Sun java studio creator is netbeans 4.1 with some added propriatary plugins for drag and drop JSF coding... And eventually it should pull in nebeans 5.0 features as well. Drag and drop JSF is very important if you work in a shop that is constantly teatering towards ASP.NET because it is basically the same product. If you work with people who don't have the greatest skill set this can make them productive at building web gui, and netbeans/swing will always be better at building stand alone swing apps then eclipses attempts. Netbeans is much better then it used to be, but it is still occward in a lot of ways. The one standout feature that I like about netbeans is that ant is integrated into the IDE much more completely, there is no way to build a netbeans project without haveing a working ant script that can also be run on the command line. Other IDE's don't force your hand the same way, and I really hate projects that are not written in such a way that you can just check them out of CVS and build them/deploy ear files... Also netbeans 5.0 has a profiler that is still not working very well, but when it does work it will be a very nice addition. On the other hand eclipse is really very easy to work with, and works very well. The GUI is very nice and very consistent, but I think that swing has the possibility of being much better then SWT, so feel free to ridicule spelling errors in this post and call me an idiot.

    2. Re:don't forget netbeans- "ide religion" by owlstead · · Score: 2, Interesting

      Swing IS betten than SWT, but they do one thing wrong. Integration with the native OS. Eclipse has, at least superficially, a nice, consistent GUI with the native environment. Swing has become closer to this as well, but many applciations don't seem to default to the platform GUI (which is plain stupid) and every Swing application is making it's own choice, so even throughout Java applications, the look and feel is inconsistent. And the problem with emulation is that you are always running behind. They do try to solve this for Longhorn though.

      Eclipse works very well within Windows, and pretty well within Linux and Mac, due to SWT. I've tried to program in SWT however, and although it is pretty simple to get something up and running, the design of the thing leaves much to be desired. I mean, color constants in the main SWT class? What year is this?

      Eclipse works pretty well, and although it has grown to be a bit more difficult than before, it is still way more inuitive than most other IDE's. Check out the keyboard configuration, the setting up of your own formatting scheme, the keyword lookup in the configuration etc. And try a sample application first. It's not *that* hard. If you're on a fast machine, by all means switch on "Mark Occurences". You now know how to find it.

      Happy coding!

    3. Re:don't forget netbeans- "ide religion" by nacturation · · Score: 1

      Drag and drop JSF is very important if you work in a shop that is constantly teatering towards ASP.NET

      If they're still doing that, you might want to wean them off of ASP.NET.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    4. Re:don't forget netbeans- "ide religion" by junkgui · · Score: 1

      Thanks for the link it lead me to this...

  3. Easy by Anonymous Coward · · Score: 1, Informative
    Eclipse == free
    IntelliJ == NOT free

    That's enough for me right there.

    (Netbeans == free, but Netbeans == sucks)

    1. Re:Easy by okki · · Score: 2

      Why does netbeans suck, please elaborate... I really had no problems with Netbeans at all. It got me going with mobile phone java development. I started using Eclipse about three years ago and loved it immediately, now I had a similar experience with Netbeans. Especially because Eclipse is a little weak on the GUI side. Mostly what I would suggest is to see what you will be developing for, what types of apps you want to maken, and then decide what IDE you require. Sometimes vim is enough, even for java developent.

      --
      -- okki nothing more to say
    2. Re:Easy by dhasenan · · Score: 1

      Whoa, now. !(Netbeans == sucks). Rather, Netbeans \subset sucks. Likewise, Netbeans \subset sucks.

    3. Re:Easy by dhasenan · · Score: 1

      Hm. Strike that second clause.

      I really should preview.

    4. Re:Easy by nacturation · · Score: 4, Insightful

      Eclipse == free
      IntelliJ == NOT free

      That's enough for me right there.


      Is that how you make all your decisions?

      No condoms == free
      Using condoms == NOT free

      Cost/benefits analysis... more than just a buzzword!

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    5. Re:Easy by Anonymous Coward · · Score: 0

      wouldn't that be:

      public interface Sucker {
              void Sucks();
      }

      Netbeans mybean;
      mybean.Sucks();

    6. Re:Easy by etienno · · Score: 1

      "Cost/benefits analysis... more than just a buzzword!" Relax junior, this is not a Project Management problem. Eclipse is free, bugless and extremely scallable; That's enought for me. Your story about comdom is quite idiotic. Since 1998 I have use Symantec "Visual cafe" (was good), IBM (Visual Age) (really sucks), JBuilder (ok but buggy), NetBeans (quite heavy, Sun stuff...), IntelliJ (excellent for refactoring), Eclipse (excellent) and now I am using WSAD (Eclipse extension, 'ok'). I really prefer Eclipse than WSAD. Load the latest Eclipse and use it. This is the best choice. Anyway, if you want to use IntelliJ at the same time (to compare), you can use both IDE on the same project without 'to much' problem. Also, I think Eclipse and WSAD are the de facto standard in the industry (check the java job posting for wsad and eclipse). Thanks. Etienne Montreal

    7. Re:Easy by smbarbour · · Score: 1

      This one is easier.

      A condom is cheaper than child support, but is that really an issue for the common slashdotter though?
      (Disclaimer: I am married, and there's a prescription that handles this that is probably cheaper than buying condoms in bulk.)

    8. Re:Easy by LWATCDR · · Score: 1

      "Cost/benefits analysis... more than just a buzzword!"

      True but "free" as in speech programing tools have some hidden benefits.
      A good example I ran into was a spell checker. My company found a very handy spell check library that supported many languages and had all the features we needed. It cost around $1000.
      Okay fine. A few year later and it starts having some issues with the latest version of MSC++ and WindowsXP SP2. We call the company and they let us know that they are ending the product and no updates are available.
      We have about 10,000 systems using this and it starting to act flaky on some new systems. If we had the source would could have fixed it, now we have to find a new spell checker. This one will include the source.
      It may not really help the average user to have the source code for a video game, check book manager, or web browser but for a programmer to have the source for his tools is often very valuable.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    9. Re:Easy by nacturation · · Score: 1

      Relax junior, this is not a Project Management problem.

      Gee, thanks Pop.

      Eclipse is free, bugless and extremely scallable; That's enought for me.

      Fair enough, but your decision came after trying out many differing IDEs. But to base your entire decision on nothing more than "Eclipse is free, so that's all the consideration that's necessary" is rather naive -- and that's the issue I was addressing. Maybe if you're a student on a tight budget, price is the only relevant factor. However, if you use it daily for work, the productivity differences between the various IDEs can easily justify any associated cost.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    10. Re:Easy by etienno · · Score: 1

      Yea, I agree. But Eclipse is not only free, it is also a good IDE. Also there a lot of plugins (buggy or not, free or not, I must mention) you can use for several kind of product developement (Hibernate, Tomcat, Spring, to mention theses). If Jbuilder was free, I would not use it anyway. And yea, IntelliJ is a very good product. But for a starter kit (entry product to learn java) I would choose Eclipse. Tks Etienne.

    11. Re:Easy by orasio · · Score: 2, Funny

      Free as in Freedom.
      The sexual metaphor is:

      Girlfriend: you can get them for lots of money (nice car, good clothes, Kenzo parfum, drinks), or no upfront cost, but it has hidden costs all over. You _will_ get screwed.
      Drunk girl at the bar: FREE

      Condoms are not optional.

    12. Re:Easy by curtisk · · Score: 1
      Eclipse == free
      IntelliJ == NOT free

      That's enough for me right there.

      (Netbeans == free, but Netbeans == sucks)

      Food found in a dumpster == free
      Food ordered from a restaurant == not free

      That's enough for me right there. And remind me never to let you treat! Not saying that Eclipse == dumpster food, but that the core arguement is very lame.

      IDEA is a great,great IDE. Very full featured and if it doesn't have something in particular, there's scores of helpful user created plugins, or make your own...I was on Eclipse, and Eclipse has great stuff too, then the dev group I moved to was all IDEA so I made the switch and have loved using it since.

      You know, sometimes it is worth paying....

      --

      Sehr geehrter Toilettenbenutzer!

    13. Re:Easy by Anonymous Coward · · Score: 0

      You're confusing free vs. open source.

  4. IntelliJ Without A Question by eric2hill · · Score: 1

    I've been using IntelliJ for over a year now. Trust me when I tell you that it is by far the most productive IDE I've ever used. There's not even a question between the two. Spend the money on IntelliJ and you won't be sorry.

    --
    LOAD "SIG",8,1
    LOADING...
    READY.
    RUN
    1. Re:IntelliJ Without A Question by tomee · · Score: 1

      I agree with IntelliJ IDEA being the most productive IDE. It has features like code flow analysis, saying things like "if statement is always true" or "value assigned to variable is never used". This may sound like a small thing, but it actually constantly prevents bugs, because most of the time I get some warning like that, it is because I used the wrong variable or something. And IntelliJ has hundreds of these inspections, and hundreds of little details that make it the best IDE.

  5. IDEA all the way! by avalys · · Score: 4, Informative

    IDEA is the best IDE I've ever used. It automates pretty much every mindless code navigation/generation/refactoring task, but stays out of your way otherwise. Really, it's not so much an IDE - more an souped-up, heavily-Java-specific text editor. There are no wizards, and it never hides code from you. It just takes a lot of the tedious tasks out of coding.

    It's not hard to use, but the sheer array of features can take some time to discover and learn to use. It is very definitely "straightforward".

    Eclipse is not bad - IDEA is expensive, and Eclipse is a decent free alternative. But if you have the money, there's no reason not to use IDEA. Eclipse has always seemed to me like a poorly-executed IDEA clone. Similar to most open-source desktop software, really.

    And don't listen to the masochists who will tell you a text editor and the command line is all you need.

    IDEA has a 30-day free trial - why don't you download it and give it a spin?

    --
    This space intentionally left blank.
    1. Re:IDEA all the way! by dubl-u · · Score: 3, Informative
      Eclipse is not bad - IDEA is expensive, and Eclipse is a decent free alternative. But if you have the money, there's no reason not to use IDEA. Eclipse has always seemed to me like a poorly-executed IDEA clone. Similar to most open-source desktop software, really.

      I'd agree. I have used both extensively, and IDEA has always had a much better UI. For something that I spend many hours a day using, that's very important to me. It's sort of like the difference between the iPod and Brand X MP3 player. It's not that there's anything very wrong with most of the MP3 players, but there's something so right about the iPod.

      Note that they also regularly offer half-price personal licenses for people just doing their own thing.

      Eclipse has always seemed to me like a poorly-executed IDEA clone. Similar to most open-source desktop software, really.

      Yep! Another fellow opines that Eclipse is Bizarro IDEA.

      IDEA has a 30-day free trial - why don't you download it and give it a spin?

      I second that. Make sure you really use it for something serious, too, and take the time to learn some of the handy keystrokes and the more common refactorings. Ones I use at least hourly:
      • Ctrl-Q: show definition (and docs, if any) of symbol under the cursor
      • Ctrl-B: jump to definition of symbol under the cursor
      • Ctrl-Alt-Left Arrow: back to previous location (like back in your browser, it has a stack of visited edit locations)
      • Ctrl-N: find class by name
      • Ctrl-Shift-N: find non-Java file by name
      • Ctrl-Alt-Shift-N: find any method by name
      • Ctrl-Alt-V: extract highlighted expression as variable
      • Ctrl-Alt-N: Inline highlighted variable or method
      • Ctrl-Alt-M: extract highlighted block as method
      • Ctrl-F6: global symbol rename (does it via the parse tree, so variables or methods with the same name in different contexts won't be touched; if you rename a class or package, it takes care of all filenames and related import statements)
      • Ctrl-Shift-F6: change method signature (again, global based on the parse tree)

      If you're just a casual Java developer or find the price a big deal, then Eclipse is perfectly adequate. For me, though, it's very much worth the money.
    2. Re:IDEA all the way! by Sudar · · Score: 1

      Note that they also regularly offer half-price personal licenses for people just doing their own thing.

      And if you are going to use it for an open source non-commercial project then you can get a free Open Source Licenses too. Check out http://www.jetbrains.com/idea/opensource/opensourc e.html

  6. Hey! It is a reasonable question. by klahnako · · Score: 4, Interesting

    I use CodeGuide5, which's interface is optimized for dealing with Java and it's refactorings. I also have Eclipse installed, but I find it tedious to use because it is too generic. I keep Eclipse for it's most robust CVS client so I can access some temperamental CVS servers.

    I find it a valid question that IDEA is worth the few hundred dollars it may cost in order to have a more streamlined experience.

    1. Re:Hey! It is a reasonable question. by angel'o'sphere · · Score: 1

      Same here.

      Eclipse is cool for having a lot of add ons. However for most of them I would prefer to have a solitair application instead.

      Like my parent I use CodeGuide from www.omnicore.com for my serious work and Eclipse for CVS/Subversion access. Eclispe lacks a lot of features and in my eyes its in some areas very brainded ... e.g. the distinction between "navigatgor" and "Java perspective" .... I wan't all commands I can do on a Java "class" in the "file navigator" and not in a seperate perspective whre I have to switch forward and backward ;D

      Regarding IntelliJ .... its a very nice IDE ... only the look/feel of it is a bit to strong modeled for being special (I mean, layout of views and fonts used are a bit strange)

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    2. Re:Hey! It is a reasonable question. by rjshields · · Score: 1
      I wan't all commands I can do on a Java "class" in the "file navigator"
      I find you can do pretty much everything you need from the Java perspective, e.g. you can create, rename, repackage and delete Java classes. If you need more flexibility there's a bash shell.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  7. What about NetBeans by retinaburn · · Score: 1, Redundant

    To throw another IDE in the mix, try out Netbeans. Last I checked 5.0 is in RC1. I have used it for a few pet projects, and find it quite useful. Especially for GUI development, they use a new component called matisse.

  8. Tough Call by GOD_ALMIGHTY · · Score: 4, Informative

    Depends on what you need to do, which frameworks your using. I've found IntelliJ integrates with a standard IDE-neutral build xml and custom tools like XDoclet much better than Eclipse. Eclipse demands that your project be built inside Eclipse to use any Eclipse tools. The default Java editor in IntelliJ is nicer than Eclipses as well.

    If you're supporting multiple developers, Eclipse can be easier to get people to standardize on, making debugging the dev environment easier. If your doing JBoss work, the Eclipse based JBossIDE might be nicer than IntelliJ, just because everything is setup already. Avoid Rational Application Developer at all costs though, it probably needs a couple of revisions before the IBM over engineering gets out of your way and lets you work.

    It's been a while since I've tried to do web framework stuff in IntelliJ, although it's always handled this a lot better than the plugins for Eclipse that I've seen, it never handled XDoclet integration well enough to deal with tag library and struts tags. That always made some nice features useless. Eclipse is just as bad, I've yet to see a good set of plugins that handle all the tools I use in a standard Java dev environment. Many of the plugins seem to expect things done the Eclipse way, or they become useless. I wouldn't mind doing things the 'Eclipse way' if that were synonymous with IDE-neutral, but until then, the Eclipse way won't cut it.

    The thing that annoys me the most about all these IDEs is the lack of imagination in tool-building. Very few graphical tools handle the IDE-neutral environment well, the wizards and syntax highlighting engines tend to be extremely inflexible. If my project needs JUnit testing, why wouldn't I do an automated nightly pull and generate a public report everyday? Wouldn't my IDE only be helpful if I could do the Unit tests outside the IDE, without figuring out a boatload of crypticlly stored dependencies?

    Anyway, I'd try each of them out with the particular features you need, and make sure to check that they will easily integrate other tools you'll need. Java IDE's could be a lot nicer. Both Eclipse and IntelliJ have made great improvements, but this is more a half-way point than anywhere near a victory lap.

    --
    Arrogance is Confidence which lacks integrity. -- me
  9. What do you consider "a long time?" by Evro · · Score: 2, Insightful

    After downloading the JDK and Eclipse and setting the CLASSPATH and JAVA_HOME vars, all I had to do to get Eclipse running was type ./eclipse. So what's your idea of "a long time?" Why don't you just try IntelliJ and see if you like it? Nobody else's opinion is really going to be much help in a "what's better?" debate anyway.

    --
    rooooar
    1. Re:What do you consider "a long time?" by Mr.+Shiny+And+New · · Score: 1

      seriously, eclipse has to be the easiest IDE to get running. When I first tried it I wasn't too sure about the whole perspective thing, but once I started using Eclipse I realized that it has tons of features, is as easy to use as any other IDE I've used, and is Free. No downside, really, except I wish it came with more syntax highlighters, for things like Xml, JSPs, and SQL.

    2. Re:What do you consider "a long time?" by rjshields · · Score: 1
      After downloading the JDK and Eclipse and setting the CLASSPATH and JAVA_HOME vars, all I had to do to get Eclipse running was type ./eclipse.
      You don't even have to set CLASSPATH and JAVA_HOME. As long as there is a usable java executable in the path, Eclipse will Just Work (tm). I have no idea how it could be difficult to set up, just unzip the downloaded archive and go. No install. Nothing. Zilch. Nada.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  10. Java IDEs by Khanar · · Score: 5, Informative

    You should also at least look at NetBeans.

    Anyway, I have used all three of the big Java IDEs.

    While they all share the same basic functionality, like great refactoring, ANT, and JUnit support, each has some areas it excels in. I would say IntelliJ is slightly better than eclipse (the free version, I have never used IBM's eclipse based environment), and both of these I prefer over NetBeans.

    The main reason I prefer IntelliJ (if you can afford it) is that it has more useful shortcuts, more intelligent formatting capabilities (if you press enter while in a quoted string it will automatically insert the needed quotes and plus sign and place the rest of the string on the next line, and back again).

    One feature I really like, that from what I remember is only in Eclipse, is incremental building. The other two require you to hit a build button before hitting the run/debug button. Not that I'm lazy, but you really get used to it building automagically when you hit save. One thing I find kind of annoying about Eclipse is that it doesn't include support for say, xml editing, which the other two support out-of-the-box, instead requiring you to go to their site and finding web-tools plugin. Also the internal parser used for error marking often requires saving the file before it will refresh the markings on the page.

    The reason I put NetBeans last, is that it doesn't include quick fix suggestions. Its nice to be able to hit a couple of keys and have the IDE suggest and fix simple problems without having to look at a reference, or moving a bunch of code around.

    From my experience all three of these IDEs take about the same amount of setup when you get passed simple applications, so if you had trouble with Eclipse, I don't think IntelliJ or NetBeans will be much simpler.

    There is always javac I guess.

    1. Re:Java IDEs by Westley · · Score: 2, Interesting

      One thing to note: Eclipse has had the "press enter while writing a string" functionality for a little while. I think it came in the 3.1 series. That's one of the problems of comparing these IDEs - I know that Eclipse develops pretty quickly, and I'd imagine the other two do too. Keeping up with what each can do would leave little time left for coding!

    2. Re:Java IDEs by Flwyd · · Score: 3, Interesting

      One feature I really like, that from what I remember is only in Eclipse, is incremental building. The other two require you to hit a build button before hitting the run/debug button. Not that I'm lazy, but you really get used to it building automagically when you hit save. One thing I find kind of annoying about Eclipse is that it doesn't include support for say, xml editing, which the other two support out-of-the-box, instead requiring you to go to their site and finding web-tools plugin. Also the internal parser used for error marking often requires saving the file before it will refresh the markings on the page.

      For me, this is perhaps the nicest feature of Eclipse. Most of my day is spent making changes to one file at a time, then testing to see if it worked. Our enterprise application consists of a server run out of a servlet container (Tomcat usually) and a Java client. It often takes half a minute to start Tomcat and the server and it takes a minute or two to launch the client, log in, and get to where you want to be. Incremental building and hot code replace mean that I can fix five bugs and try fifteen solutions to another problem without a single process dying. On some days the productivity gain is more than a factor of two.

      And I agree with another commenter -- if you've already spent a lot of time setting Eclipse up, why switch now?

      (Having just created a branch workspace, I'm rather disappointed with how few settings travel with you when you say "Export All Settings" in Eclipse. Why would I not want my annotation and text coloring to be the same? Why would you not remind me I need to export my code formatter? Why would you not export my code templates?)

      --
      Ceci n'est pas une signature.
    3. Re:Java IDEs by _flan · · Score: 1

      I just copy the whole workspace, then delete (or omit in the first place) the projects I don't want. This works really well if you have to work on two CVS branches at the same time.

      You can try exporting preferences, but this has never worked to my satisfaction. Throw in badly-behaved plugins (like Jalopy) and all hope is lost.

      Copy the whole workspace -- it's the only way to be sure.

    4. Re:Java IDEs by Anonymous Coward · · Score: 0

      >The reason I put NetBeans last, is that it doesn't include quick fix suggestions.

      Netbeans 5.0 includes quickfixes. For example, call a method that doesn't exist. A lightbulb pops up; press Alt+Enter and select "Add method".

      Use a variable that doesn't exist and it will offer to add the variable as a parameter to the method, as a local variable, or as a class member.

      There are other quickfixes as well.

  11. Try these... by TwoScoopsOfPig · · Score: 1

    This is by no means an ad. Just a helpful bit of information. Bluej and Dr. Java have worked well for me in the past. Bluej has more (in my estimation unneeded) frills then Dr. Java, bu that's a personal preference. Dr. Java has a very shallow learning curve, and setup is simple: run the installer, and point it to your tools.jar class path. Both are free; Bluej was "developed and maintained by a joint research group at Deakin University, Melbourne, Australia, and the University of Kent in Canterbury, UK." while Dr. Java was developed at Rice University in Houston, TX. Just my two cents.

    --
    #include <disclaimer.h>
    #include <beer.h>
    1. Re:Try these... by owlstead · · Score: 2, Informative

      Dr Java has a shallow learning curve because it is simple. TOO simple. I would never use an IDE anymore that only does syntax coloring. All three main Java IDE's (IDEA, Eclipse and Netbeans) parse the text you type by default. This means you can easily see what's a local variable and what's a field. See if your application contains unreachable code, bad switches, bad expressions and of course on the fly refactorin.

      Especially Netbeans will support additional code checks in the future (think checking if your regular expression or printf statements are valid (IF they can be checked). This is the future for source based IDE's. I would *never* use an IDE that does not keep an abstract syntax tree up to date in the background.

      That said, Dr Java does seem to have an nice place to run test code in. I would love to see somthing better than "java (s)crap pages" in Eclipse. Say, a nice beanshell plugin that can also run in parallel with the debugger.

    2. Re:Try these... by Anonymous Coward · · Score: 0

      BlueJ is the worst IDE ever created.

      Hell, its not even a IDE. Its simply a teaching tool (Good for 1st semester Java students but even then I couldn't deal with its constant crap)

      Ive never seen an IDE as good as Eclipse. It is simply stunning especially its CVS :)

      Eclipse all the way baby.

    3. Re:Try these... by TwoScoopsOfPig · · Score: 1

      That's fair; for the things I code, I don't need much more than is offered by Dr. Java (haven't yet learned how to properly use a regex....) and haven't been introduced to anything more complex.

      --
      #include <disclaimer.h>
      #include <beer.h>
  12. I migrated, haven't looked back by slick_rick · · Score: 2, Interesting

    I used Eclipse originally and then migrated to IDEA because Eclipse kept crashing on me (to be fair, this was probably Debian Unstable's fault, not Eclipse). To be honest I really prefer the IntelliJ enviro. At the time it did a lot of things out of the box that Eclipse did not (like show me errors in my Javadoc comments, integrate extremely smoothly with Tomcat, gracefully handle JSPs, etc). Eclipse could probably be bent to do all these things with various plugins, but my IDE is one thing i really don't want to futz with all that much.

    That was two years ago, and to be honest I haven't had much urge to check on how Eclipse is doing these days. I liked it when it wasn't crashing, and for the price you can't beat it... But when your company is picking up the tab and you just want it to work, you can't beat IntelliJ with a stick :-)

    --
    apt-get install redhat please god - Me (take it easy, I love Debian)
    1. Re:I migrated, haven't looked back by owlstead · · Score: 1

      You can now download the latest Eclipse 3.1.1 stable including "web" support. This means XML, HTML, schema's, application servers, WDSL, various levels of compliancies with servlet standards, and well, a lot more that I have not found the time to explore. It's 186 MB's big (ugh!).

      Note that this is a pretty early "stable" release from the Eclipse Tools. So most things work, but they have not been smoothed out as best as they can do. Another problem is to keep the complexity out a bit. Eclipse does a fair job at this, but it might even perform better. I had some difficult time to set up the thing to do 2.3 version war files for instance, instead of 2.4.

  13. Alternates to background assumptions by iaminthetrunk · · Score: 4, Insightful
    I am currently using Eclipse and it took a long time to get the environment set up.

    Respectfully, in addition to asking which IDE to use, you should be asking yourself why this is. Particularly if you do not work in soloist isolation, collaborating with a colleague is in your best interests - you should have asked a college with expertise to assist you. If you are not fortunate enough to be in a master-apprentice relationship with a more experienced colleague, you ought at least shift your automatic frame of mind towards the collaboration of a working group. You could later repay with collaborative expertise in a particular subset of specialty you possess. Even in open source projects, such instincts for teaming and efficiency will serve you well. Your question has been good, but it's basis is suggestive an compartmentalized perspective or environment that may be at least as important to ponder as the finer points of IDE efficiencies.

    Has anybody here migrated from Eclipse to IDEA?

    I work with both simultaneously. Both are adequate workspace environments, relatively easy to migrate and setup(*). However, I find it more interesting to redirect to asking if have considered using both IDEs for their strengths, if costs permit. After migrating, I found no need to actually choose between them, and would ask you if your post hides a false framing question, implying a binary choice when other options exist. You need not fully setup a project in an IDE to reap many of the benefits of it's use. You may load a single source file and still perform a fairly broad number of powerful actions. (As other will no doubt point out, the mix of refactorings offered between them varies, it can be pleasing to utilize both for a combined pool of available IDE refactorings.)

    With Murphy as my witness, I currently have Eclipse, Visual SlickEdit, NetBeans, and IntelliJ installed. I use Eclipse for a subset of some of it's refactorings, SlickEdit as needed for things such as horizontal column cuts and power-editing macro recording/replay (the other IDEs simply don't provide these features suitably), and IntelliJ for most development. NetBeans I confess to not much using; I've tried JDeveloper on a colleagues box. Such evaluations are useful - an IDE with even one or two favorable unique features easily run on singleton files repays the exploratory time.

    That you may not wish the setup costs is a valid point, as is ability level at maintaining familiarity with multiple IDEs, however the counterpoint here about maximizing efficiency by selection and mix of the right tools, and about continual learning, are, I think, valid. In both regards to increased colleague collaboration and avoiding binary choices to build a robust mix of tools, please consider keeping an active mind.

    (*) There are some occasional stray bits of migration errata in either direction, but nothing severe. For instance, Eclipse awkwardly roadblocking on, say, encountering a mixed case windows directory vs an all lowercase Java import. That was bad coding by a third party developer, but an awkward case to workaround in Eclipse that IntelliJ handled smoothly. Both are good IDEs, IntelliJ is perhaps a bit smoother and more robust.

    --
    "The hottest places in Hell are reserved for those who, in times of moral crisis, preserved their neutrality." -Dante
    1. Re:Alternates to background assumptions by badmammajamma · · Score: 1

      Just an FYI: IntelliJ has a column mode like SlickEdit. Try Alt-Shift-Insert.

      --
      Any man who afflicts the human race with ideas must be prepared to see them misunderstood. -- H. L. Mencken
  14. I migrated, haven't looked back-GMF by Anonymous Coward · · Score: 1, Interesting

    "That was two years ago, and to be honest I haven't had much urge to check on how Eclipse is doing these days. I liked it when it wasn't crashing, and for the price you can't beat it... But when your company is picking up the tab and you just want it to work, you can't beat IntelliJ with a stick :-)"

    Well Eclipse isn't "crashing", but it can be a royal pain sometimes to update and resolve dependency issues across plugins. I'm currently trying to find .org.eclipse.emf.ecore so I can install GMF.* No luck so far, although .org.eclipse.emf.ecore.sudo comes close. Update Manager hasn't a clue about "resuming" a download, and apprently no one has any idea about compression, so downloading some of the plugins is positively painful for 56K users.

    *All this work so I can basically do what Rational XDE does, hmmf!

  15. Tried it, didn't like it by Will+Sargent · · Score: 2, Interesting
    I didn't like the Java editor. There are many things that IntelliJ does differently, but there are very few things I could say that IntelliJ does that Eclipse doesn't in the Java editor. At least for 4.5.4. I have no experience with 5.0.

    However, the JSP and XML support in IntelliJ freaking rocks. Live templates combined with the IntelliJ JSP editor is enough that I switch out of Eclipse to IntelliJ whenever I have to edit JSP, even though I have WTP installed. I've been told that JDeveloper and Netbeans also have JSP editor support, but haven't looked at them closely.

    1. Re:Tried it, didn't like it by anomalous+cohort · · Score: 1
      there are very few things I could say that IntelliJ does that Eclipse doesn't in the Java editor

      I haven't kept up with either product. Three years ago, everyone in the Java shop that I was working in at that time always picked IntelliJ over Eclipse. They all swore by the refactoring support that IntelliJ had.

      Has Eclipse caught up with IntelliJ with regards to refactoring support?

    2. Re:Tried it, didn't like it by Will+Sargent · · Score: 1

      I would say so. You can highlight a section of code and tell Eclipse to "Extract Method" and it will take all the variables external to that section of code and make them parameters to the method it creates. You can move methods up and down the class hierarchy. Implement interfaces automatically.

      Again, I haven't found anything that IntelliJ does that Eclipse doesn't do, but I'm officially behind the current package now and therefore don't know what I'm talking about. :-)

  16. Eclipse: great, but sucks. by clambake · · Score: 4, Interesting

    Eclipse has a billion and one plugins, it runs on all platforms, it's awesome... Oh, but also it sucks. Absolutely anti-intuitive (perhaps holdover from it's IBM days? IBM couldn't design a UI to save thier lives). Inconsistancy, primarily, is my main beef. In one set of menus, FooBar is right on top, but on another it's two levels deep, but on the right-click context menu it's three levels deep in a completely different heirarchy... on one pane, but on another pane the right-click context menu for FooBar it's only one level deep, but is named slightly differently. It makes it's a nightmare to find what you are looking for even when know exactly what it is...

    1. Re:Eclipse: great, but sucks. by Antity-H · · Score: 1

      Do you have a precise exemple for this ? I have been using eclipse for quite some time now and wasn't particularly bothered by the UI. I really am curious for one or more exemples of what you state.

    2. Re:Eclipse: great, but sucks. by owlstead · · Score: 1

      Eclipse is a pretty intuitive IDE. I have not an idea what you are talking about. Maybe that's because I've used it since 2.1, but I cannot see too many problematic parts. The only thing missinb by default is switching between tabs using the keyboard. I prefer to use ctrl-tab for this, as most Windows applications do. ctrl-F6 is used in other programs as well though, and you can pretty easily find/reprogram the keyboard shortcurt (fortunately).

    3. Re:Eclipse: great, but sucks. by angel'o'sphere · · Score: 2, Interesting


      Eclipse is a pretty intuitive IDE.

      Intuitive means yoou don't need to learn it, it works just so. And if you already have used it for a while you don't have to remember any features you already used because they are right there where you need them.

      Eclipse is anything but intuitive!

      E.g. how many ways are there to create a new project and connect it to a CVS repository? And why does only ONE of those many ways work correctly?

      The way how classpathes and libraries work is a compete mess. Why can't it be simple as saying: put this *.jar into classpath?

      As I mentioned in the other post: why does every plugin need its own perspective? Most of the stuff simply should be done in the "navigator" where you see "files". Ther eis no special "java package view" needed, but I'm forced to use it often because a lot of commands are only there.

      Basically the only 2 perspectives beyond "navigator" making sense are CVS/version control and debugging.

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    4. Re:Eclipse: great, but sucks. by fm6 · · Score: 1
      Intuitive means yoou don't need to learn it, it works just so.
      To a computer nerd, "intuitive" means, "I know how to use it!"
    5. Re:Eclipse: great, but sucks. by Lehk228 · · Score: 1

      for a piece of software as complex as an IDE "intuitive" means brokenly and brain-dead simple, like BlueJ.

      --
      Snowden and Manning are heroes.
    6. Re:Eclipse: great, but sucks. by Anonymous Coward · · Score: 0

      > Intuitive means yoou don't need to learn it, it works just so.

      As JLG said, the only intuitive interface is the nipple :)

      Seriously, there are no such things that don't need to be learned.

    7. Re:Eclipse: great, but sucks. by treewire · · Score: 1

      I looked at IDEA shortly, but I've been rapturously using Eclipse for years now. The GUI in Eclipse is at the top of the heap, it works very well, it's quick, powerful, customizable, taps into JavaDoc help during coding, supremely well integrated with CVS, and easy to navigate. It took some time to get used to what all the icons represented, but Eclipse is another reason I enjoy coding. OH, and it's free! I was going to say "great bang for the buck", but it being free, then just... "great bang"!

    8. Re:Eclipse: great, but sucks. by rjshields · · Score: 1
      Eclipse is anything but intuitive!
      When I was starting with Eclipse I had little problem figuring out stuff. Now it's like second nature. E.g. how many ways are there to create a new project and connect it to a CVS repository? And why does only ONE of those many ways work correctly? Well, creating a new project is as simple as File -> New -> Project or File -> Import to import an existing one. Connecting to CVS is as simple as (right click on project) -> Team -> Share project, etc.
      The way how classpathes and libraries work is a compete mess. Why can't it be simple as saying: put this *.jar into classpath?
      Copy the Jar into your lib directory (or not) and choose Project -> Properties -> Libraries -> Add Jars/External Jars. Is that not simple enough? You can even define "Libraries" or buches of Jars to save time importing them to multiple projects.
      As I mentioned in the other post: why does every plugin need its own perspective?
      A perspective is simply a configuration of views (dockable UI elements). Perspectives provide an easy way to switch to different layouts. Since you can't fit everything on screen at once, perspectives seem like an easy and logical way to manage the problem. If you don't like the built in perspectives or the ones that come with your plugins, you can easily define your own. I tend to do most things within the Java perspective, switching to the debug perspective for debugging.
      Most of the stuff simply should be done in the "navigator" where you see "files". Ther eis no special "java package view" needed, but I'm forced to use it often because a lot of commands are only there.
      Not sure I agree with this but you *can* do everything from the Resource perspective if you configure it with views you need.
      Basically the only 2 perspectives beyond "navigator" making sense are CVS/version control and debugging.
      I would say the Java perspective is more useful than the Resource perspective since it has all the Java refactoring stuff in addition to being able to create/delete java files.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
    9. Re:Eclipse: great, but sucks. by angel'o'sphere · · Score: 1


      I would say the Java perspective is more useful than the Resource perspective since it has all the Java refactoring stuff in addition to being able to create/delete java files.


      But thats what I say .... why is the refactoring not in the resource view available? If it was there, you would not need the Java perspective.

      Same for teh rest of your examples: it does not help much to point out the "easy" coammnd. As for every command you showed, there exist several alternatives wich either don't work, or have a slightly different meaning.

      Jar files e.g. can be incorporated into the project in several ways. When you like to replace a jar file yb a newer versino you have to dif through several tabs to figure if its only referenced, or copied into teh project or is it a library (what the heck does library in Eclipse terms mean btw?)
      Projects can also be created via CVS in several ways. Only the way you point out works correctly however. And exactly what makes Eclispe unintuitive.

      Regarding your suggestion to configure my own perspective, I can't unerstand what you mean by that. Obviously Debugger commands are only available in the debugging perspective. Refactoring commands only in the Java perspective.

      So how should I be able to define my own one? Granted, I can open windows aka views and use them in nearly every perspective .... but that does not solve the basic problem: the need to switch from one perspective to the other and the pespectives replacing the Java navigator or resource navigator by their own navigator ... or not ... it just depends.

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    10. Re:Eclipse: great, but sucks. by rjshields · · Score: 1

      I hardly use the resource perspective, just stick to the Java persepctive as it does everything I need when editing (I also use the debug perspective for debugging). I suppose the resource perspective is there as a filesystem-only view of the project without any language specific stuff. As you say it doesn't do any Java stuff.

      A library in Eclipse is just a collection of jars and classes that you can use in multiple projects. They're useful for defining libraries of related stuff, so when you create a new project you can just reference a library instead of importing all the jars individually, handy if you create a lot of projects. E.g. I might define a library named "common" that inculdes junit.jar and ant.jar.

      I'm not sure about the different ways to add a project to version control, I only know the one way. Do you have an example of a way that doesn't work?

      WRT creating a new perspective, just show the views that you want and dock them where you want and do Window -> Save Perspective As to create a perspective that you can switch to when you want.

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  17. Why not answer your own question? by darkpurpleblob · · Score: 2, Informative
    So, I wonder if Eclipse is more complex than I need. I have never used IDEA before. Is it more straight-forward? Has anybody here migrated from Eclipse to IDEA? How steep was the learning curve?
    Why don't you try for yourself with a 30 day trial of IDEA?
    1. Re:Why not answer your own question? by astellar · · Score: 0

      I Had Tried It!!! 30-days trial period expired before I could run my application!!!

  18. The kids these days by ultrabot · · Score: 1

    What's up with the Java programmers these days? They complain about an IDE that practically writes the code for them while they drink coffee, and it's free. You guys should see what kind of tools many C++ programmers are forced to use & and pay big bucks for. *cough* CodeWarrior *cough*.

    --
    Save your wrists today - switch to Dvorak
    1. Re:The kids these days by bladesjester · · Score: 1

      I remember falling in love with Code Warrior many years ago. I think it was the graphical debugger that did it.

      Now graphical debuggers are no big deal, but when the only thing you'd used before was gdb, it was really cool.

      --
      Everything I need to know I learned by killing smart people and eating their brains.
    2. Re:The kids these days by HalWasRight · · Score: 1

      God I hope no one says "Well you should use Eclipse with CDT!". CDT today barely functions. 3.x is going in the right direction, but after all it is still make and gdb behind the scenes, so how good can it ever get? Maybe when the C/C++ refactoring catches up then at least the editor will be usefull, but the debugging and building sucks still.

      --
      "This mission is too important to allow you to jeopardize it." -- HAL
    3. Re:The kids these days by Lehk228 · · Score: 1

      has code warrior gotten less buggy recently? a few years ago i used code warrior and it was awful. bloodshed's Dev-C++ was much better and i have been using it ever since.

      --
      Snowden and Manning are heroes.
    4. Re:The kids these days by bckrispi · · Score: 1

      C++?? Eclipse does that too. While Eclipse, out-of-the-box is a Java IDE, it was designed to support multiple languages and frameworks, and does so quite well.

      --
      Xenon, where's my money? -Borno
    5. Re:The kids these days by orasio · · Score: 1

      And it was ++C and C++ both!

  19. choose IDEA! by Anonymous Coward · · Score: 0

    IDEA is probably the best IDE ever written. It is expensive but it is worth every penny!

  20. again...? by vistic · · Score: 1

    Doesn't the question of which IDE to use for Java come up every month or two on slashdot?

  21. Free not always the issue by Wabbit+Wabbit · · Score: 2, Interesting

    Well, I mostly agree, but as someone who codes for a living, the cost of IDEA is more than worth it. I've used them all, and while Eclipse has gotten better, and is now (at least for me) actually *usable*, I find that I can just fly with IDEA.

    But this really is a Religious War (tm), and as such there's no Right Answer (pat. pend.)

    --
    Nothing is inexplicable; only unexplained -Tom Baker, Doctor Who
  22. From an Eclipse user by harryman100 · · Score: 1

    I'm an eclipse user, and I have been now for over a year. I think it's awesome, yes it takes a bit of getting used to, but I find that the way I work, eclipse just speeds everything up.

    However, it's clear that the Eclipse/IDEA argument is another vi/emacs war, and nearly everyone is going to have a strong opinion either way. I guess it's down to which fits the way you work best. I suggest trying IDEA out, if it works better for you, switch. If it's just as confusing as eclipse, don't bother, stick with the free alternative.

    --
    .sigs are for losers
  23. Don't worry too much about the learning curve by ecotax · · Score: 1

    I usually use Eclipse, for financial reasons, but I've used IntelliJ for a few months at a different company, and I regretted getting back to Eclipse. Eclipe is acceptable, but to me IntelliJ was much more intuitive to use. Of course there's a little bit of a learning curve -IDE's are complex programs. But I remember often being pleased with finding functionality at places where I expected/guessed/hoped it would be. I've rarely used a program this complex that felt so 'natural'. I completely agree with the advice before to give it a try; if my boss would pay for it, I'd switch immediately.

    --
    "Money is a sign of poverty." - Iain Banks
  24. Eclipse was always a step behind... by boeserjavamann · · Score: 1

    I haven't worked with the latest version of idea, but i used it a couple of years. Today i code with Eclipse. I can say that it was always a step behind, adding the best new usability-improvements a couple of month later. Well, that was my Impression. I don't know if its still like that. I loved to use Idea, because the usability was always very straight forward and developer-centric. Eclipse is a little more cryptic, with lots of functionality thats always present, even if you don't need it. But its very good, has lots of plugins (including the impressive myEclipse) and doesn't cost a cent.

  25. NetBeans 5.0 by nule.org · · Score: 1

    I started migratring from Eclipse to NetBeans when I saw how nice 4.1 was. Now I'm using the daily builds of 5.0 and it's fantastic. Great for doing GUI or J2EE work. Integrates with JBoss, which is key for my work. Haven't used IDEA so I can't help you there.

  26. Eclipse by Austin+Milbarge · · Score: 1

    I checked out the Eclipse. Wasn't that impressed. To me it seemed too busy. I never understood the one editor fits all languages concept. Pick a language and write an IDE for it. Whats so difficult? I can see why most people on here seem to prefer the IntelliJ IDE.

  27. Eclipse for me by Kypeli · · Score: 1

    I've used Eclipse for a while but was forced to change to IDEA because of a new project I got involved in and the project, including the GUI, was written in IDEA. So I wasn't able to migrate the project to Eclipse because IDEA does some magic with the Swing part (if someone can tip me on how to get the Swing GUI written in IDEA working in Eclipse, it would be great!).

    But I like Eclipse. Here is why:

    - Eclipse looks more polished including fonts, project navigation...
    - Overall usage is clearer in Eclipse. I like Eclipse's views - IDEA's small changing windows in the bottom of the GUI and popup windows are frustratingly messy.
    - Debugger in Eclipse is GREAT!
    - Code analyzer works on all files in the project, not only the one open in the editor.

    Both have similar great features that I couldn't live without anymore and IDEA is good too, but I like *using* Eclipse more.

  28. Future "Ask Slashdot" Q: Catholic or Protestant by egriebel · · Score: 5, Funny

    Dear Ask Slashdot: I am currently an Agnostic, but I've read a lot about this "Jesus" thing on the internet and it sounds really cool!! Although I don't plan to now, I would like the option to sin, and I would prefer something that keeps my weekends free because I really like to sleep in. I've read a little bit about Catholicism and it seems interesting, and I've looked at Judiasm, but I think I would have a problem fasting for a whole day even though eight days of gifs would be neat. Hopefully someone can point me in the right direction!
    ====
    Will we actually see this on Ask Slashdot? Well, why not have a real religious argument, that would probably be less controversial than what IDE to choose!!

    --
    ACHTUNG! Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist nicht fuer gewerken bei das dumpkopfen.
    1. Re:Future "Ask Slashdot" Q: Catholic or Protestant by kbro · · Score: 1
      I've looked at Judiasm, but I think I would have a problem fasting for a whole day even though eight days of gifs would be neat.
      Huh! I suppose there is a nice market for Kosher porn GIFs!
    2. Re:Future "Ask Slashdot" Q: Catholic or Protestant by etienno · · Score: 1

      Didn't the Bible say "You shall not pray two IDE at the same time"? Grego. 23/32 Everyone knows that choosing an IDE is a religious problem. Is Eclipse Catholic or Protestant? God bless java programmers Tks Etienne. Montreal

  29. I've used both in the workplace by malachid69 · · Score: 3, Informative

    Personally, I have used both in the workplace. I have found IntelliJ to be:
    1) more expensive
    2) more intuitive
    3) more reliable (ie: searches in Eclipse regularly left items out)
    4) faster

    I would say that #1 is your deciding factor. If you are willing to spend the money on it (you can usually get it for 1/2 price for a Personal copy -- and free for open source projects), it is a much better product.

    Some will argue that Eclipse is better because of the fact that it is open source. As much as I prefer open source software, I was willing to spend the money on IntelliJ for home because of #2-#4.

    Some will likely point out that #3 just means that I was likely doing something wrong. It wasn't just me - it was the entire team. At the time that I noticed this deficit (last year), the entire work team was required to use Eclipse; and a few of us switched to IntelliJ (and honestly a couple to JBuilder as well; no one switched to NetBeans, though we tried it) because all but 1 of us despised how Eclipse performed.

    If you aren't looking for something with all the bells and whistles, you might just want to go with a much cheaper solution like JCreator (which I also paid for) -- but I personally would recommend IntelliJ.

    --
    http://www.google.com/profiles/malachid
  30. IDEA performance deteriorating by jamiefaye · · Score: 1

    I have sworn by IDEA for the past three major version releases. Now I find myself swearing at it sometimes. While the feature set has continued to grow impressively, the product is started to feel slow and bloated. In particular, the editors have impressive error checking features that are always on but wind up hindering you if your files start to get big or you start to do unusual things like create a JSP page that generates Javascript (for an AJAX application).

    While one can refactor for better modularity when this happens, I would rather be able to turn some of the dynamic parsing off until I get my darned edits done so the screen feedback keeps up with the keyboard. (I did try looking under all the GUI rocks for the "disable" switch and I can't find one).

    Still, it is better than Eclipse for what it does and I consider it worth the money I spend (about $200-$300/year) to keep it updated.

    1. Re:IDEA performance deteriorating by Anonymous Coward · · Score: 0

      IDEA 5.x has a little GUI rock you may not have noticed, the little inspector guy on the status bar (his nickname is Hector the Inspector). You can click him to change the code inspection settings for a particular file, so if you have a very big or very messy file, you can lower the inspection level to make parsing faster.

    2. Re:IDEA performance deteriorating by jamiefaye · · Score: 1

      Thanks for the tip, A/C. Response indeed improves after you ask Hector to "turn his back on you" (which is the visual indication that you have turned off syntax hilighting and code inspection for a particular file).

      It still seems to take about 3 seconds for IDEA to react to a newline typed into a JSP file which generates Javascript. However, it definitely helps to Heckle Hector.

  31. ID what? by __aabgfe356 · · Score: 1

    The best IDE for Java is your favorite text editor, a console and ANT. IDE SchmIDE.

    1. Re:ID what? by Anonymous Coward · · Score: 0

      just use vi!

    2. Re:ID what? by Lehk228 · · Score: 1

      pico is better than vi

      --
      Snowden and Manning are heroes.
    3. Re:ID what? by bckrispi · · Score: 1

      Yeah, text editors are great... until you start debugging. I don't care how good you are, my conditional breakpoints, annotated stack frames, expression watchers, and hot code replace will run circles around your System.out.println()'s.

      --
      Xenon, where's my money? -Borno
  32. Guess I am not the only one by Latent+Heat · · Score: 1
    I use Eclipse a little, but often find it easier to revert to (favorite text editor) and javac. The Eclipse built-in compiler seems pretty fast though.

    The first roadblock is how to run a program from the IDE. Yeah, yeah, in Java you have to specify which module contains a class with a static main method, but still, bringing up a project and figuring out the Run dialog can be an effort.

    The second roadblock is how example programs are packaged -- some kind of .zip format and unzipping when you load projects -- still haven't cracked that on.

    The third annoyance is if you have a bunch of .java files that compile to a bunch of .class files, and you just want to use Eclipse a text editor for the .java, as a compiler for the .class, and perhaps to run a .class file containing a static main(). Eclipse is real fussy about existing/new directories, and yes I have generated projects to encompass collections of .java files I had previously maintained with a text editor and compiled with javac, but I can never remember from one time to the next how to do it.

    Last time I mentioned any of these issues I was modded Troll and told I was an idiot (gee, people are that sensitive about any criticism about Eclipse). Eclipse may be good, Eclipse may be powerful, but Eclipse has a lot of the stamp of IBM on it that they have their unique way of doing UI's, and I second that observation.

    1. Re:Guess I am not the only one by rjshields · · Score: 1
      Eclipse is real fussy about existing/new directories, and yes I have generated projects to encompass collections of .java files I had previously maintained with a text editor and compiled with javac, but I can never remember from one time to the next how to do it.
      Once you've defined a project and copied over your source files, just go to Project -> Properties -> Source and include/exlclude your source directories as required. Choose a build directory (or not) and Eclipse will build your project in the background when you click OK. Fussy? Hardly.
      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  33. Idea rocks by jarkspratt · · Score: 1

    Well, i dont think any other Java IDE can come close to IDEA.. IDEA is the way to go :-)

  34. Switch to netbeans by shalu028 · · Score: 1

    You could try using netbeans, an open-source project. Some of the advantages of using Netbeans are

    1. Its JSP, HTML, and XML editors are excellent. This is something that is sorely lacking in Eclipse. It is fast and it does not freeze like eclipse.

    2. Eclipse freezes when trying to open a class or expand the project tree. This happens most of the times.

    3. Code-completion is slow in eclipse.

    4. NetBeans 4.1 comes with full integration with Tomcat 5 and Sun System Application Server PE 8.1. In order to get this functionality with Eclipse you need to download or purchase plugins. In NetBeans, in order to deploy/run a J2EE application in Sun's app server, all you need to do is to press the run button. NetBeans will compile and deploy the app and launch the app server (if it is not already running), and open your default browser to the right URL. This makes testing code very fast. You don't have to worry about bouncing the server, going out of the IDE to compile the source and then copy the WAR or EAR file to the deploy directory of the app server. You just press Run.

    5. NetBeans places all of the project metadata into ant build scripts rather than the extra, IDE specific files.

    You could read some real stories from eclipse users here
    http://www.netbeans.org/switch/realstories.html

  35. Why did it take such a long time? by manavendra · · Score: 1

    Can the OP please tell us why the Eclipse environment setup took him/her such a long time? I've used Eclipse in the past with plugings such as EMF, JUnit (which now comes built in), VSS Plugin, Java Pretty Printer, Perl SDK Plugin, etc., and I never had too much trouble or time spent in setting up the environment....

    --
    http://efil.blogspot.com/
  36. Does It Have To Be Integrated? by ObsessiveMathsFreak · · Score: 3, Informative

    I've never been a huge fan of Integrated Development Enviornments. The learning curve is usually quite steep, each has its own peculiarities, and each does things you originally had no intention of doing.

    Case in point, Anjuta, on the creation of a new app, creates a 500K config file and I have no idea what it's doing. Each IDE also has a tendency to create its own directory hierarchy, make file or equivilent, and if versioning is included, will pick its own scheme.

    What this usually entails for me is loss of control over the project. I sort of feel trapped within the IDE, and unable to get out. The Visual Studio effect; I don't know where my code ends and the automatically generated stuff begins.

    As such, I prefer keeping it simple. I use a bare text editor where possible. Syntac highlighting is a must for me, and I've found very few editors that do this correctly. Emacs will work if your colour scheme is OK, but Emacs is a quasi-IDE to begin with.

    I find writing computer programs to be just that. Writing. It's a personalised sort of thing. A few personally written shell scripts, a handmade makefile, the command line and a decent editor can go a long, long way. You are intimately aquainted with all aspects of the project. On the downside, you are intimately aquainted with all aspects of the project.

    Your milage may vary, considerably. But before you begin to use an IDE, as what it is giving you, good and bad, that a personalised DE is not. There's a trend towards monolithic IDE programs that do it all in one, but do they really deliver on their promise. Are you really more productive. Your troubles with Eclipse could be symptoms that IDE are really not for you.

    --
    May the Maths Be with you!
    1. Re:Does It Have To Be Integrated? by Anonymous Coward · · Score: 0

      You seem to be suffering from bad-IDE burnout. Seriously, you need to at least try IntelliJ IDEA before passing judgment on it. Here's some specific replies:

      > The learning curve is usually quite steep

      IDEA starts off very simply, the only thing you really have to learn at the beginning is how to set up a project, which is actually quite simple. I have screencast to show how easy it is: http://idea-log.blogspot.com/2005/04/hello-idea.ht ml The screencast is for version 4.5, but 5.0 is almost the same.

      > each has its own peculiarities

      True of any program, but IDEA shines here at doing very little that developers don't expect.

      > and each does things you originally had no intention of doing.

      This criticism doesn't seem to apply to IDEA, as far as I can tell. IDEA does generate some cache files, but these are purely temporary files and are stored in a separate directory from your projects, so they don't clutter anything up.

      > Case in point, Anjuta, on the creation of a new app, creates a 500K config file and I have no idea what
      it's doing.

      All I can say is Anjuta != IDEA

      > Each IDE also has a tendency to create its own directory hierarchy, make file or equivilent, and if versioning is included, will pick its own scheme.

      IDEA does none of this. You can use virtually any directory scheme you want for your projects. The only 'make file or equivalent' is a simple XML project/module file which you can put in any version control system you like (or not, if you choose). These files do not even have to be stored with your project if you don't want them to be. In other words, take virtually any existing Java project and you can configure IDEA to work with it without modifying a single file or directory in the project.

      > What this usually entails for me is loss of control over the project. I sort of feel trapped within the IDE, and unable to get out. The Visual Studio effect;

      This is why I think you have IDE burnout. IDEA is the opposite of this. By minimally specifying your project structure, you gain lots of control over your project, and you are never trapped in IDEA. You can get out at any time and use some other IDE or text editor.

      > I don't know where my code ends and the automatically generated stuff begins.

      IDEA doesn't autogenerate anything. The project configuration files are self-contained and do not have to be tied in any way to your project's directories. The cache files are also self-contained and the typical user will never even need to know they exist; they are purely temporary and for performance's sake.

      > As such, I prefer keeping it simple. I use a bare text editor where possible.

      IDEA also prefers keeping it simple. You can keep your project minimally specified if you like, and IDEA will simply act like a souped-up text editor. If you want to tap into the more advanced features for more complex projects, you can add them one step at a time.

      > Syntac highlighting is a must for me, and I've found very few editors that do this correctly.

      IDEA has the best syntax highlighting around, and it's fully customizable. If you've only used text editors and Visual Studio-like IDEs, you'll be very pleasantly surprised with IDEA in this regard.

      > I find writing computer programs to be just that. Writing. It's a personalised sort of thing.

      IDEA gets out of your way as much as possible. You will find that it does not stop you from writing software the way you are used to; it will only add capabilities that text editors do not have (or have, but in an incomplete way, such as searching for variables, methods, classes, etc.).

      > A few personally written shell scripts, a handmade makefile, the command line and a decent editor can go a long, long way.

      IDEA does not stop you from developing in this way, but it can (if you choose) take it much, much further. E.g. built-

    2. Re:Does It Have To Be Integrated? by rjshields · · Score: 1

      Eclipse does very little in terms of creating filesystems, you can configure your project however you want, or create a project from any existing code, no matters how it is structured in terms of files. The only files it creates are .project and .classpath.

      I use an Ant build for building and packaging deliverables. Eclipse compiles my code as I work (the Eclipse build Just Works (tm)) and the hot code replacement means I don't have to repackage using the Ant script until I release to test. Whichever way you look it's a win-win situation.

      --
      In this world nothing is certain but death, taxes and flawed car analogies.
  37. it depends by Anonymous Coward · · Score: 0

    Depends what you want

    If you want:
    The best code editor for any language at all ever then splash out any by IDEA. It rocks.

    If you do any Java GUI development or want a quick free way to get going then Net Beans is for you. I generally recommend this to beginners because it is very easy to set-up and understand.
    See: http://www.netbeans.org/

    If you want a plug-in for every occasion, and don't mind having a long set-up time then Eclipse is for you. You can shortcut some of this by using something like My Eclipse.
    http://www.myeclipseide.com/index.htm

    Personally I use IDEA and Net Beans. Can't be bothered with Eclipse really.

  38. IDEA 30 day trial by fbg111 · · Score: 1

    IntelliJ IDEA is available for a free 30 day trial. Just download it and try it out, and you should be able to answer your own question. I did and decided that while IDEA is good, Eclipse has more compelling price:performance.

    There are other free options as well:
    Oracle JDeveloper
    Borland JBuilder

    And maybe a few others if you search Google for "free Java IDE".

    --
    Flying is easy, just throw yourself at the ground and miss. -Douglas Adams
  39. Re:IDEA all the way until you find Eclipse by orasio · · Score: 1

    If you want to do the comparison with Eclipse 3.1, this could be useful:

          F2 (or hover mouse) * Ctrl-Q: show definition (and docs, if any) of symbol under the cursor
          F3 * Ctrl-B: jump to definition of symbol under the cursor
          Alt-LeftArrow * Ctrl-Alt-Left Arrow: back to previous location (like back in your browser, it has a stack of visited edit locations)
          Ctrl-Shift-T * Ctrl-N: find class by name
          Ctrl-Shift-R * Ctrl-Shift-N: find non-Java file by name
          Ctrl-H (java search)? * Ctrl-Alt-Shift-N: find any method by name
          Alt-Shift-L * Ctrl-Alt-V: extract highlighted expression as variable
          Alt-Shift-I * Ctrl-Alt-N: Inline highlighted variable or method
          Alt-Shift-M * Ctrl-Alt-M: extract highlighted block as method
          Alt-Shift-R * Ctrl-F6: global symbol rename (does it via the parse tree, so variables or methods with the same name in different contexts won't be touched; if you rename a class or package, it takes care of all filenames and related import statements)
          Alt-Shift-C * Ctrl-Shift-F6: change method signature (again, global based on the parse tree)

  40. IDEA by sawanv · · Score: 1

    IDEA is an excellent tool...far superior than Netbeans or Eclipse IMHO. I have used all three and found IDEA to be heads above both.

    It is much more stable (It caught a JVM bug, reported it to me and offered to restart or adjust itself!),
    has excellent featueres built right in (no hunting for plugins and having to deal with buggy plugins),
    has a MUCH shorter learning curve then Eclipse,
    excellent version control (better then Netbeans 5, Eclipses' has bugs in it) subtle features that you grow to appreciate, excellent merging and version revision, comparison,
    GUI is highly optimised (very fast on Linux),
    features actually work (try adding a property to a class with 50 members using the bean pattern interface in NB),
    has helpful docs,
    doesnt fall over on huge projects (Netbeans does when using refactoring...grrrrrrr...all that wasted time),
    has an awesome library of refactoring templates that actually work,
    manages to do things "just right for you" e.g. build system,
    and many more.....

    The only problem is the $400 price tag.

    One bit of advice.....please for the love of Gosling ...do not use Eclipse. It is NOT a nice tool, highly confusing, buggy, unstable, and its so called "platform features" are used by about 3 people in the world.

    As for NB.....4.1 has the above problems, 5 still to early to say though Matisse is good!

    I paid the $400.

  41. Not to muddy the waters.... by Doctor+Memory · · Score: 1

    ...but I once had a somewhat bizarre set of circumstances that led to me downloading and using Oracle's JDeveloper. It really wasn't too bad, I liked it much better than NetBeans (what's up with "mount points", anyway?), although I still prefer Eclipse. And it's free-as-in-beer, so all it'll cost you is some time to download and install it. I've also heard nice things about TopLink, but I haven't looked into it.

    --
    Just junk food for thought...
    1. Re:Not to muddy the waters.... by Anonymous Coward · · Score: 0

      The directory mounting is long gone in NetBeans. Give NetBeans a new try, really.
      Also look at GlassFish for an Open Source version of TopLink (EJB 3 implementation)

  42. Eclipse is King by dturkel · · Score: 1

    Along with other posters, I don't understand what could have taken so long to install Eclipse, unless you are running on a computer 2+ years old, w/ 256Mb RAM. Eclipse has always been very easy (and quick) to install (sans plug-ins). I have been using Eclipse since 1.x, and also several other IDEs Eclipse was slow (at least to bootstrap) in the 1.x -2.x series, but the latest major version 3.x has fixed that nicely, plus has better feedback on what it is doing. You do have to have a beefy computer to run it though -- it frequently takes upwards of 250Mb of RAM. I am using may plug-ins however, for Spring, Hibernate, JBoss, PMD, and Automated Metrics. I also use Rational Software Architect, *sometimes simultaneously*. I've found that most major vendors of complementing developement products (i.e. Source Control, Configuration Managment, Testing tools) are shifting resources to support plug-ins. Like it or not, we need these tools, and it's nice to have them in one place. One thing I don't like is how little real-estate on the screen you can find yourself with. Optimally, you can have a dual monitor setup or something, otherwise you'll need bifocals by the end of the day. Invest in the learning curve, and you won't be sorry.

  43. Netbeans the underdog by HampiRocks · · Score: 1

    Netbeans has an awsome J2EE support. It has a fully featured JSP editor and has the ability to launch and debug web apps from inside the IDE. The J2EE support is installed along with the IDE. Eclipse plugins suggest that they can do the same. However I had a tough time configuring these plugins with partial success only.

    Netbeans has a very good support for J2ME apps through mobility pack.

    Netbeans has lots of sample applications that make learning easy.

    Netbeans has an integrated catalogus of useful design patterns which is very handy.

    I have not tried it profiler .

  44. People wits vs. Corporation muscle by Anonymous Coward · · Score: 0

    Three thoughts I give you. But, do not think too much, do as J. Krishnamurti says Thinking is conditioning. Where there is conditioning, there is no freedom.

    1 Eclipse is an option in some Linux OSs, like SUSE 9.3. That is how I got my Eclipse running. It is stable enough so the guys who put the distro and other free apps decided to throw it in the mix.

    2 IDEA wins best IDE year after year, I think, after Borland Jbuilder 3 won years before. Marketing? Maybe. Back then it was Borland, today it is IDEA. The thing is best IDE title is won by not-free IDEs.

    3 Eclipse is like Wikipedia: same info as in Encyclopedia Britannica Online, created by regular but interested people, with little differences that catch up in little time.

  45. Missing Option by Anonymous Coward · · Score: 0

    Textpad ahref=http://www.textpad.com/rel=url2html-28195htt p://www.textpad.com/ >

  46. Go with IntelliJ you won't be mad by kencochrane · · Score: 1

    I have been using IntelliJ for 3 years now, and I have to say it is the best IDE I have ever used, and I can't imagine using anything else. I have tried to use eclipse a few times, usually when there is a new major release. Everytime I use it, it gets better, but it is never quite ready for me. When I use it, it feels like Eclipse is a cheap knock off of intelliJ. It kind of looks the same from the outside, but when you sit down and use it, you know instantly that it isn't the real thing.

    I recently tried out netbeans for the first time in a long time, and it has gotten much better, but it isn't quite there either. The GUI editor is nice, but the java editor needs some more work.. I put this on par with Eclipse, but if you are doing GUI work, I would pick netbeans.

    It is true, you get what you pay for. Try out intelliJ's free trial and if you like it, and you have the cash, buy it, intelliJ will pay for itself in the long run. If you are strapped for cash, use one of the free editors to write the next killer app, and make yourself some fat cash to buy yourself a nice new intelliJ license.

  47. Give me VIM or give me death. by jinxidoru · · Score: 1

    People will probably think I'm lieing, but I don't care. My IDE of choice is and will probably always be VIM. I have tried many IDE's and they all have something nice to offer, but I just can't get past the power of VIM. I can write code so much faster in VIM than I can with any other IDE. I often keep an IDE around for debugging though. The scripting capabilities of VIM, while not as robust as Emacs, are quite extensive and powerful such that you can build scripts to handle most repetitive tasks.

    Ideally, it would be nice to run VIM inside of Eclipse or IntelliJ as my editor. Is there such a thing? That could definitely coerce me into using an IDE. I've thought about writing something like this as a plugin for Eclipse but have not bothered to do so. Let me know if anyone knows of such a thing.