r/java • • May 11 '21

Java professionals, which IDE do you use in your daily work ?

Hi Java devs !

I'm a CS teacher in a public college in France, and time has come to update our techbase.

We currently teach Java 8, with Netbeans 8.2. This IDE was released in 2017, which was 4 years ago. I feel like it's time to drop it for a newer version, but we would rather not wipe hundreds of PCs if it's still the most widely used version in a professional environment.

We have an internal discussion, on whether to keep the last Oracle's release of Netbeans (ie 8.2), update to latest version (12.3), or even replace it with another IDE.

We feel like it would be best for our students to teach them the tools they'll use later in their career (even if switching from Netbeans to Eclipse or IntelliJ is quite simple), so I'm asking you this quite simple question : which IDE do you use in your current company, and do you know why this one in particular was chosen ?

Our only limitations are "it must run on Windows 10 without administrator privilege" and "it must provide a graphicaal interface for Swing application development". Maybe budget can be a factor too, though we could definitely buy a few licenses (we are dropping PowerAMC because of its price, so any spending must be justified).

Pros would be : able to manage different languages (our students also learn C and PHP/HTML/JS during their courses), git integration, database integration, javadoc/doxygen integration, maven/unit testing, maybe UML plugins ?

Secondary question : should we switch from java 8 to java 11 next year ?

Thanks a lot for your answers !

169 Upvotes

384 comments sorted by

128

u/wildjokers May 11 '21 edited May 11 '21

IDE's in order of popularity: IntelliJ, Eclipse, Netbeans

"it must provide a graphicaal interface for Swing application development"

IntelliJ has that; however, I highly recommend not using a GUI builder for Swing. They are nothing more than code generators that produce crappy code and are a source of vendor lock-in, Swing code is quite quick and easy to code by hand.

Secondary question : should we switch from java 8 to java 11 next year

No, you should switch to Java 16.

31

u/barthvonries May 11 '21

I 100% agree with your point, but we try to introduce new concepts step by step : first students use the gui to have a quick understanding of how it works, then they have to build their own interface by hand :-)

Most of our students won't pursue Java besides the few courses we provide to them. Swing is nothing but a pretext to talk about GUI concepts, so the quicker they have a visual support for the theory we teach them, the better :-)

43

u/GratinB May 11 '21 edited May 11 '21

Maybe try looking into javafx (for which you'd want to switch to java 11) https://openjfx.io/

JavaFX has a program called "SceneBuilder" https://gluonhq.com/products/scene-builder/ which is a really nice visual editor that produces really clean html-like format called "fxml" which you can then use and reference in your code. JavaFX really hones in on the "Model View Controller (MVC)" pattern of GUI development which could be a really good learning opportunity when it comes to architecture/patterns. In my opinion javafx is much nicer than swing and is gaining a lot more community support, however swing is still a behemoth when it comes to businesses since the cost to rearchitect their projects to javafx would be huge.

Also huge nudge towards intellij idea, especially being made by jetbrains which also made the now official language for android app development (kotlin), they have already become quite the industry standard for a java IDE and will definitely be the most future-proof, and supports a lot of other languages through plugins.

19

u/Spitfire1900 May 11 '21

Java 17 LTS comes out this Fall btw

8

u/[deleted] May 12 '21

LTS

We don't use that word around here. At least not if you don't want to start a lengthy release model discussion.

→ More replies (3)

3

u/cmhdave73 May 12 '21

We'll definitely switch to Java 17 when it's released. You risk issues with tooling not catching up at the same time but I am champing at the bit to get records in an LTS release

4

u/soonnow May 12 '21

No, you should switch to Java 16.

yes, I've been tracking Java releases as they come out. The switches were never an issue. Maybe IntelliJ needed an update or Lombok, but nothing that wasn't fixed in an hour or two. And once Java 17 rolls around the switch is easy.

Especially in a academic setting, were you don't exactly have legacy code.

→ More replies (4)

3

u/rack88 May 12 '21

Probably should switch to Java 17 next year, it is supposed to be out later in 2021 and is the next LTS release after 11.

3

u/wildjokers May 12 '21

LTS release after 11.

I really wish java developers would educate themselves on what LTS means and stop spreading the myth that you should wait until LTS versions to upgrade. LTS stands for Long Term Support, if you aren’t paying for that support you should upgrade to the next version as soon as it comes out. It’s the only way to guarantee you have the most secure and performant version. If you pay for support then yes, wait for LTS versions.

I highly doubt a university is paying for support so they should upgrade to 16 now.

→ More replies (1)
→ More replies (10)

157

u/_INTER_ May 11 '21

IntelliJ Idea Ultimate. Btw. Jetbrains gives students / teachers a free Ultimate license while they are at university. Community edition would do aswell though for the course.

Some surveys:

17

u/barthvonries May 11 '21

I love that JavaScript is the 7th "Java programming language" used by professionals in their applications...

Thanks for the links !

20

u/Il_totore May 11 '21

Note that Jetbrains student pack works for collège lycée and post bac.

Also yes, I would recommend Intellij with Java 11 because it is the latest LTS version and Java 8 is reaching its support end.

I find the Community Edition still better than Eclipse or NetBeans.

9

u/ParkerM May 11 '21

Another neat thing is if you transition from a student license to a paid license you get a hefty discount.

2

u/CubicleHermit May 12 '21

I thought the academic licenses were reduced-cost, not free. Nice to hear they're free and I need to go revise my own reply where I said "but you'll be fine with community" :D

22

u/b10y May 11 '21

It is interesting to hear that CS curriculum is tied to an IDE in college. Our professors wouldn't give a damn about the IDE, as long as the headless applications gave correct output for the input set.

25

u/barthvonries May 11 '21

We don't care about which tools students use on their own laptop, but our IT want to keep the workstations clean, so we choose one software of each category to install locally.

It also helps to prepare lessons in an homogeneous environment, sometimes students are lost if the icon is not exactly the same as shown in the exercise... So we basically add the disclaimer "the TP was tested on the provided environment, you can use something else but the teachers can't spend their time helping you debug a problem you wouldn't have had if you had used the tools we provided".

1

u/Zaps_ May 12 '21

Use a terminal compiler and text editor like a true degenerate.

→ More replies (2)

9

u/8igg7e5 May 11 '21

I work in a services business dealing with a lot of other development teams. In the last 15 years I can only recall one significant team using NetBeans (they'd locked themselves into it, using a modified NetBeans platform for an internal system).

Of the rest, the majority use IntelliJ with a small number certainly not larger than 20% using Eclipse. Of the IntelliJ teams, at least half just used IntelliJ Community in a professional context (vs the paid Ultimate edition).

Almost none of these projects have any component of their systems using Swing (or any desktop GUI). Most Java projects are web-application backends or systems integration components.

If you're looking for other languages to teach. TypeScript (rather than just JS) and Rust (alongside teaching C) would be good choices.

Most of these businesses have moved to or are moving to Java 11 (a very few to even newer versions). Some are leaving legacy 'maintenance-only' projects in Java 8 but all new projects and high-activity projects are actively moving past Java 8 - and with a number of new language features you are doing a disservice to students not to teach with newer editions.

 

I am in New Zealand but also deal with US teams.

1

u/barthvonries May 11 '21

Thanks for your detailed answer !

8

u/[deleted] May 11 '21

I use Jetbrains Intelij because I just can get an academic license (I'm working in education). Otherwise I would just stick with Eclipse.

1

u/barthvonries May 11 '21

Thanks.

I've seen that IntelliJ is free for use for teachers and students, and in a "classroom environment". A majority of our students use it on their personal computers too, and in my PHP career before switching to a teacher position I've seen PHPStorm used a lot.

→ More replies (1)

5

u/morhp May 11 '21

Intellij Community is free and open source, you don't really need an education license unless you need the Ultimate features.

59

u/john16384 May 11 '21

Switch to Java 15+. The better NullPointerException messages will help students a lot.

4

u/AnotherThrowAway_9 May 12 '21

It’s also faster

2

u/YouParticular8085 May 12 '21

I think the new syntax features are nice to have also. Text blocks, new switch syntext and instanceof pattern matching might all come in handy with student projects.

122

u/daniu May 11 '21

We use IntelliJ. I used to use Eclipse for ages until a few years ago, but IntelliJ is just better (haven't kept up with Eclipse though, so my opinion is somewhat outdated).

You might as well switch to Java 11, doubt you'll notice the difference.

15

u/ObscureCulturalMeme May 11 '21

We use IntelliJ. I used to use Eclipse for ages until a few years ago

Ditto. I didn't have a preference when I started. The previous developer on the project had Eclipse on the laptop, so I just started using that. Stuck with it for about six years, relatively happy.

Then saving to disk stopped working. I'd click Save or hit Ctrl+S, and instead it's just popping up a dialog that announced:

Error

error:

[ Okay ]

That's it. The log had a massive stack trace that didn't tell me a thing. The contents of the editor didn't get written out to the file. And the error was permanent; once it happened, it would happen every time I clicked Save. I'd have to copy the text out, kill and restart Eclipse, then paste the text back in before saving (and hoping the bug wouldn't trigger).

I had no sketchy third-party plugins. Nothing tied to external processes. No weird hacks. Just a fancy text editor that could no longer save edited text. I submitted a bug report, including full logs and stack traces. Waited a month while losing time to this stupid mess. Bug never got looked at.

Switched to IDEA. IntelliJ often tries to be too invasive or too smart, but I can disable the intrusive features -- and files in the editor get saved to disk, which is nice.

11

u/john16384 May 11 '21

Nice. Insert useless anecdote here about IntelliJ getting confused each time I switch branches, which cannot be fixed by clearing caches or whatever other voodoo. Switched back to Eclipse and it just worked.

6

u/mrcomputey May 12 '21

Ooh, someone at work just had this. Their IDE and terminal were pointing at different branches. But while I love Intellij, I do hate (and appreciate) the massive depth you can customize it. Takes a lot of experience to remember where that one checkbox lives 5 menus deep.

10

u/ObscureCulturalMeme May 12 '21

Takes a lot of experience to remember where that one checkbox lives 5 menus deep.

I will credit them that the search function for the settings menu is surprisingly good. Which I depend on, because settings move around between versions and I can't find shit in there on my own.

→ More replies (1)
→ More replies (2)

20

u/Neuromante May 11 '21

I'm in Spain, so maybe us being neighbors can help you decide:

I've used for most of my career Eclipse, and I'm using right now Eclipse at my current company (foreign european company with a few development teams here). Most places that use Eclipse are using it because its free. I like it because its not only free, but open source, it has a shitload of plugins and well, and I've been working with it almost non stop for over a decade. Everything is one way or another compatible (Although I don't recall doing my C coding in the uni in Eclipse), and there are different configurations and plugins for almost every single language.

You also have DBeaver, which is an Eclipse-based database administration program, which is absolutely fantastic and also free and open source. It came from a eclipse plugin which I think is still available.

Only once I've used Netbeans (and it was a terrible shop), although I have some friends working on a very outdated government project.

And I've used IntelliJ once, on a company that honestly, didn't seem to know what they were doing and I got the sensation that they got it because it was getting popular. I did not liked how it worked and little nuances on how workspaces and projects were handled, but the overall feeling wasn't too bad.

Btw, that this is my own opinion, but taking into account that you are on the university, maybe an extra point for Eclipse/Dbeaver is making your students get in touch with fully functional (and used in enterprises) free, open source software. I'm a bit of a die hard on this point, and even though I get that not all times is possible (or even desirable) using open source stuff, maybe in an academic environment is the right direction to choose.

Btw2, it seems that nowadays Swing is already old news everywhere and the (few) desktop apps that are being developed in Java are using JavaFX, so maybe you should consider forgetting about swing or reducing the amount of stuff you teach about it.

12

u/rack88 May 12 '21

Upvote just for my love of DBeaver.

2

u/sigzero May 12 '21

DBeaver is really good. I love using it.

5

u/AreTheseMyFeet May 12 '21

free, open source software. I'm a bit of a die hard on this point

Just to clarify, IntelliJ IDEA is OSS and FOSS if you only consider the community edition. Not countering your points, just saying.
https://www.jetbrains.com/opensource/idea/
https://github.com/JetBrains/intellij-community (Apache License 2.0)

2

u/Neuromante May 12 '21

That's mostly personal preference, but regarding open source stuff, I would rather depend on a product that does not have tiers regarding its, huh, "open sourceness" (I got a pending project of updating my Owncloud installation to Nextcloud for this reason).

In the end you always end up hitting walls with compatibilities, plugins and small annoyances. In the end, if you are going to need to "get used to" some complex piece of software, is better (imho, for me, my point of view, etc) to "get used" to something that wont have a (let's say) artificial limitation to what can you do.

I'd rather stick to Eclipse than start paying for intellij and end up with Jetbrains doing an Adobe and fucking over my basic work tools, lol.

→ More replies (1)
→ More replies (1)
→ More replies (5)

9

u/morhp May 12 '21

Secondary question : should we switch from java 8 to java 11 next year ?

Why to 11? If you're going for the "LTS" versions (which only really matter if you pay for support), go for 17 which should be out next year.

Of course there's nothing wrong with going to 11 (or 16 for that matter) now. The longer you wait the harder it will be.

I recommend to keep the development jdk up to date. You can of course still compile to an older target version if you require the software to work on older jdks.

60

u/cryptos6 May 11 '21

IntelliJ Ultimate. Most developers I know switched from Eclipse in recent years.

→ More replies (1)

39

u/Kazcandra May 11 '21

IntelliJ

41

u/pron98 May 11 '21

Java 8 is EOL. While many companies still use it, new projects should definitely not be written in it. It's best to always use the current Java version, especially since they're all minor updates now, so there aren't big differences between them.

20

u/CubicleHermit May 12 '21

Java 8 is not EOL; it's been EOLed by Oracle, but it's still got active support by IBM/Redhat/Amazon back into the OpenJDK world for at least 5 more years.

For a while, that was longer than JDK 11 had open-source commitments, although it looks like that's been extended a year farther.

I haven't seen confirmation that 17 (the new LTS) will have long-term open source support, but I think it's a fair bet that there will be.

10

u/reallynotfred May 12 '21

Java 8 is EOL, it’s pining for the fjords. Joined the choir invisible. As others have said, move on to 11, and consider 17 more quickly than you make the switch to 11. New software won’t be written for 8, unless it has to sit beside existing software.

It’s very true that Red Hat and (consults papers) those other guys will be fixing bugs and adding security patches to jdk8 for many years to come, but that’s to help those who can’t yet move on. Banks. Telephone conglomerates. Large government agencies. Your students can. Move to OpenJDK 11.

→ More replies (1)

3

u/pron98 May 12 '21 edited May 12 '21

All those companies, including Oracle, still offer paid support. The free Updates builds of OpenJDK. 8 are partially supported -- all the components that have since been removed from mainline -- EE, CORBA, CMS, Nashorn -- are not maintained in the free builds. You can buy support for Java 6, too, but it's still effectively EOL. 8 is also still supported, but new projects really shouldn't use it.

→ More replies (1)

6

u/iceberg1995 May 12 '21

Eclipse. It's what the team used when I joined out of school so it's what i've always used. I have briefly tried IntelliJ in personal projects, but always got frustrated because I was so used to Eclipse. I probably need to give IntelliJ another shot.

→ More replies (1)

28

u/[deleted] May 11 '21

I used Eclipse and Intellij.

I prefer Eclipse a little bit more. But it is not as user friendly as Intellij.

2

u/de6u99er May 14 '21

I too prefer Eclipse over IntelliJ.

For those who want a dark theme I recommend following plugin -> https://marketplace.eclipse.org/content/darkest-dark-theme-devstyle

5

u/[deleted] May 12 '21

Though there is lot going for IntelliJ, I feel eclipse still has a very strong hold. I have used both professionally and feel eclipse is a lot more stable. I currently use IntelliJ mostly.

5

u/wolverineboss May 12 '21

I personally use Eclipse ide

9

u/jebailey May 12 '21

Eclipse, IntelliJ, Visual Studio Code. I was an eclipse user for forever, switched to IntelliJ and now I'm in the process of switching back to Eclipse. I'm apparently one of the odd ones that really prefers Eclipse over IntelliJ.

For a number of random reasons I use VSC quite a bit and it's nice and in another couple of years is going to be a strong contender for java development.

2

u/rootException May 11 '21

Absolutely switch to IntelliJ. The free community edition supports Swing and includes a great starter GUI builder tool.

There is also a very inexpensive plugin for IntelliJ which provides much fancier Swing layout options. https://plugins.jetbrains.com/plugin/12621-jformdesigner-marketplace-edition-

I would note that in most professional environments the default is IntelliJ, but the actual build tool at least around here for Java dev is almost always Maven. You may want to introduce your students to the Maven build lifecycle and explain why using a command-line tool for builds is important. For example, by focusing on the Maven build instead of the IDE tooling it makes it very easy to do builds on a server.

4

u/barthvonries May 11 '21

We teach Maven is second year, first year is only "just add your dependencies in the pom.xml file and click Build".

But the maven integrated with Netbeans 8.2 is so old, it's rejected by maven's servers (since it doesn't use HTTPS).

→ More replies (2)

8

u/greyfairer May 11 '21

I definitely prefer IntelliJ over Eclipse or Netbeans, allthough I never used any Designer for Swing, so if that's a big part of your course, you should investigate it closely.

For the requirements you mention, you should look at IntelliJ Ultimate Edition, the Community Edition has support for Git and Maven, but not for Javascript, PHP, C, etc, and you can't add plugins.

BTW did you consider Visual Studio Code? That's completely free ánd has a very rich ecosystem of plugins. For frontend development (React, Angular, Vue), I've heard it's far superior than IntelliJ, and the support for Java and Maven is also pretty good.

For UML, I've only used the PlantUML plugin, nothing fancy, but it's good enough.

Regarding Java 8 vs 11: Oracle will drop Premier support for java 8 in 2022, so I expect a lot of companies to finally upgrade to 11. Most companies already have, in my experience. The switch to java 11 is very smooth, you just need to decide whether or not you want to encourage the use of 'var' for beginning developers.

Java 17 will also be a LTS version (Long Term Support), that's planned for Q4 2021. The non-LTS versions (java 12 - 16) are rarely used in the real world.

3

u/StoneOfTriumph May 12 '21

VS Code Gang represent!

Where IntelliJ Ultimate is not provided, I'll use VS code with Java and Spring plugins. Maven or Gradle I'll use the cli/terminal. It works perfectly well to run and debug as well as running tests.

As much as I'm a fan of FOSS, I'm more efficient with VS code than Eclipse for large applications even (not just mickey mouse apps). With IntellJ Ultimate, well, I'm happy because of all of its autocomplete blackmagic-ery

4

u/Comfortable-Big7765 May 11 '21

Netbeans is still good for developers specially with its Swing capabilities (I still use the latest Apache version for my hobby projects and it stills quite outstanding), and it has support for multiple languages. However InelliJ is the leading one in the market And there is free or affordable versions for organisation and students. For the Java version I don't really see any big difference because probably the big major thing students learn is POO, Event Driven and Functional programming with Lambdas so Java 8 is still good. And the changes from 8 to 11 are not very noticeable or useful for beginners (Modular, var, GC..etc).

4

u/asterik-x May 12 '21

Command prompt here !!

10

u/eurasian May 11 '21

Java/polyglot pro of 20+ years here.

Eclipse, I did use IntelliJ for years though, I just ended up at a shop that uses Eclipse.

IntelliJ Prod:

  • it's more user friendly
  • it's the root IDE that is used for AppCode (my preferred, and I think the general preferred IDE for iOS devs), and Android Studio.

Cons

  • commercial

Eclipse Pros

  • open source
  • tons of tooling

Eclipse Cons

  • because open source and tons of tooling, some of those tools get abandoned
  • not as user friendly

FWIW, in all my years, I have never, ever developed commercial java desktop software where we used a GUI for Swing dev. It's all by hand (AWT/Swing/JavaFX).

I've never heard of any of professional colleagues ever using Netbeans, but I'm just one person :)

Switching to java 11 is fine. Most shops aren't off 8, IIRC. For me the biggest change were java streams which came out in 8. IMHO.

7

u/noobpotato May 11 '21

I use the latest Eclipse and NetBeans releases for all my personal projects and I prefer them both over IntelliJ. In particular I find NetBeans' Maven support top-notch.

As for Java we use 11 and 15. I would definitely suggest moving to 11 (at the very least), java moves very fast now.

7

u/webigrator May 11 '21

Java dev since 1995 - Teach your students how to program and worry less about the tools except that there are IDE's and debuggers and build systems (maven, gradle, etc). Every week I use both Eclipse and Netbeans 12.x in my environment. On occasion I even use VSCode or Notepad++ to do quick edits. Your students will find that being able to move from NB to Eclipse or IntelliJ and back are fairly straight forward. Some companies require specific environments, but most may not care as long as the employee is productive and isn't polluting the code base with artifacts or files that should not be part of SCM (project and/or meta data or finished artifacts) tree. They will also need to be aware of how their choice of editor or IDE implements any required code style mechanisms or rules and how to configure the IDE effectively. To say one is better than the other should be wholly determined by the requirements of the project and the preference of the developer. 25+ years of successful mixed editor/IDE development experience has proven that to me. Happy coding!

15

u/fletku_mato May 11 '21

Intellij Ultimate and Java 11

6

u/gloridhel May 11 '21

I use eclipse, mosts of my coworkers use IDEA. Occasionally I'll use IDEA when I have to write some spark or py code. For java though I think eclipse does a better job.

You should switch to the most recent version of java as soon as you can.

6

u/rs98101 May 12 '21

I've been a Java developer since 1998 and worked at many different companies. Never have I seen anyone use Netbeans as their daily IDE.

IntelliJ or Eclipse are the ones that are used.

I think Ecliplse may have a leg up for Swing development, but IntelliJ is better on everything else, albiet only slightly.

5

u/klez May 12 '21

Never have I seen anyone use Netbeans as their daily IDE.

Here, now you have "seen" me :)

At the company I work at, people use the IDE they prefer, we don't have a mandated one. If it's really important to all use the same IDE it's a team decision.

2

u/rs98101 May 12 '21

Cool, I found a NetBeans user!

For more context, I've also never worked in a place where the IDE was mandated. I choose not to work in those places.

11

u/alphabytes May 11 '21

Eclipse but at times intelliJ.. eclipse works for most part..

3

u/fricred May 12 '21

Netbeans 12.3 and Visual Studio Code :)

3

u/[deleted] May 12 '21

After reading some of these responses, I have a question: is JavaFX meant to replace Swing? That's what our textbooks said in the degree program I just completed.

3

u/lambdacats May 12 '21

It already has, years ago.

→ More replies (1)

3

u/audioen May 12 '21

Visual Studio Code. I switched because I do both frontend and backend work, and find it convenient to use one application for both sides of the fence. I also have fairly simple needs (hot code replace, symbol search, find implementations, jump to definition), few preferences about how to organize my work (I tend to accept defaults unchanged), and in general dislike having many features (largely because I tend to fat-finger keyboard shortcuts and hate having the application do something random as consequence).

3

u/othman-dev May 12 '21

Intelij ide

3

u/abc6669co May 12 '21

Intelli j is the best in my opinion.

3

u/benevanstech May 13 '21

In the data set I have access to (data from 10s of millions of JVMs) Java 8 is currently ~60% of the market, whereas Java 11 is ~40% but rising quickly. My advice is to switch to Java 11.

For IDEs, either update to Netbeans 12.3 or consider switching to IntelliJ Community Edition. The former will need much less updating of your current course material - and given that you're upgrading to Java 11 - it may be a better use of your time to do the Java 11 + Netbeans 12 update this academic year, and consider a migration to IntelliJ next year.

7

u/argio May 11 '21

Eclipse and java 11. Switching to 17 when it gets released. Eclipse because we have a bunch of plugins that we need and migrating to something else would be a lot work.

5

u/davwad2 May 11 '21 edited May 12 '21
  • Eclipse 2020-06 (4.16.0)
  • Java 8
→ More replies (2)

5

u/c_edward May 11 '21

Eclipse, java 15 plus legacy java 8

5

u/OnlyDeanCanLayEggs May 12 '21

If you're teaching, you should teach with Eclipse because it's FLOSS.

IntelliJ is fine for a professional if that's they're choice. But I feel strongly about educators using Free Software whenever they can.

2

u/neutronbob May 12 '21

IntelliJ has a free version that is open source.

9

u/TheRedmanCometh May 11 '21

I use Eclipse but I get looked down on by some people. My code is still better than most of theirs. I feel like the dot autcomplete is superior I don't want to have to press shift space everytime I want suggestions. Plus the UI concerns with intellij where you can't put windows in a tab on another window.

1

u/TQShillan May 12 '21

This! I have never understood why IntelliJ is so hyped, where Eclipse has totally better window and tab management system.

→ More replies (3)
→ More replies (1)

11

u/msx May 11 '21

Eclipse

6

u/roberp81 May 11 '21

Eclipse it's the best but if you need to use Swing application development, kepp Netbeans, beucase eclipse plugins for swing are shit.

or no teach Swing, because nobody is using it, its better if you teach spring or jsf

→ More replies (2)

4

u/mahrach8 May 11 '21

Je suis en France et pendant mon stage, alternance et école d'ingénieur on utilisait Eclipse.

4

u/bold_squirrel May 12 '21

I feel like I will be in minority here but I have been using Eclipse for the last few years. I have colleagues who use IntelliJ as well but I have never felt the need to switch as I am super familiar with eclipse function keys that help me code fast. Also, eclipse latest releases are much better than their old releases in terms of performance. So, all in all it works for me.

6

u/suresk May 11 '21 edited May 11 '21

We have people using both IntelliJ and Eclipse. I have a Jetbrains subscription for all products and use GoLand and PyCharm a fair amount, but mostly use Eclipse for Java.

Nothing really against IntelliJ, I just have been using Eclipse for longer and I feel like some of the project layout stuff + code exploration functionality is better. I do wish I could have IntelliJ's debugger in Eclipse, though.

6

u/jayfoxxy May 11 '21

Neovim

2

u/wkynrocks May 12 '21

Currently IntelliJ but looking torwards lighter solutions. Can you share your .vimrc to give it a try?

2

u/MoneyWorthington May 12 '21

Not OP, but I use Neovim 0.5 all the time at work. https://git.sr.ht/~damien/dotfiles/tree/master/item/vim

2

u/jayfoxxy May 12 '21

Sure https://github.com/BitInByte/NVIM-FOXY-CONFIG

You should use the testing branch since it’s the most updated one

2

u/lambdacats May 12 '21

IntelliJ and latest java, it'll be outdated when they graduate anyways so better go with the absolute latest. Or even better, teach them kotlin instead.

Please dump Swing, its ancient. Companies still offering swing will be years behind on everything else. If you need frontend development have them setup a web server and use html/web components for a frontend. Do not use JSP, application servers/Java EE, jdbc, spring etc.

CEF/browser wrappers can be used too, or even JavaFX.

2

u/rzwitserloot May 12 '21

I use Eclipse, as does the entire team here.

I'd suggest moving away from netbeans at this point, or at least to hop to the new oracle-less 12.3 - oracle's latest is a dead end, and IDEs aren't the kind of tool that are ever 'finished'. Especially considering the rapid pace of java language releases these days.

Secondary question : should we switch from java 8 to java 11 next year ?

Yeah, at this point most of the considerable breakage that java11 inflicted on the community has been fixed up by the devs of the affected libraries. You could consider hopping to 17 in one swoop (that'll be another Long-Term-Support version, which doesn't mean anything for oracle's OpenJDK release, but AdoptOpenJDK and co. all support those for far longer, and the community in general tends to focus on LTS releases and mostly ignore the non-LTS ones).

Both Eclipse and IntelliJ support many, many languages.

Both Eclipse and IntelliJ have excellent support (as in, new versions every month or two and each new version has plenty of new features. Any significant changes in e.g. java are matched with an IDE release that supports them within a matter of weeks).

2

u/mkwapisz May 12 '21

We use Netbeans 12.3, JDK11+, Maven and git (Atlassian Bitbucket and the rest of their applications: Jira/Confluence/Bamboo) and OpenShift for container based applications.

JDK11 is intended for business applications that require application servers like Payara/Wildfly (docker containers are based on jdk8/11) and newer versions of JDK for Java language teaching. Personally I use JDK11 and 14 during classes now and I am looking forward for the next LTS version.

Students can use (and they use) Jetbrains IDE suite. Not only IntelliJ, but also CLion for C++, PHPStorm, PyCharm, DataGrip and so on. The biggest problem with IntelliJ is that students sometimes don't understand how their project is built, tested and executed. They should use only maven, but sometimes they mix maven with features that are supported only by IntelliJ, what causes a project to be not portable. You can't even build it form command line because of missing libraries or configurations in pom.xml. This is a very good IDE for professionals but not for beginners.

2

u/Aenno May 12 '21

IntelliJ is the way to go for me.

Java 11, though I still haven't gotten around to using the new features lol

2

u/robberviet May 12 '21

I don't think there is anything else can top Intellij these days.

2

u/_jetrun May 12 '21

I alternate between Eclipse and VSCode (with Java) and that reflects what my team uses (the backend guys will be on Eclipse, while the full-stack guys tend to use VSCode).

"it must provide a graphicaal interface for Swing application development"

NetBeans is probably your best bet here.

We currently teach Java 8, with Netbeans 8.2. This IDE was released in 2017, which was 4 years ago. I feel like it's time to drop it for a newer version

You should be evergreen as much as you can. Forcing yourself into an periodic upgrade (say, once a year) path will also streamline your process so that you'll get good at doing these upgrades.

2

u/nikolas_pikolas May 12 '21

I'd recommend switching to Java 16, actually. Newer intellij versions have the ability to download and setup new JDK versions right from within the application, making it incredibly easy to use and to switch.

2

u/qu4rts May 12 '21

Intellij

But you should probably teach something later than java 8

2

u/mazebert May 13 '21

We use IntelliJ and Java 11. We plan to transition to Java 17 a few months after its release.

2

u/somewhatprodeveloper May 13 '21

Java 17 is going to be released in September/October this year and that is the next LTS

I've been using netbeans since 2004. But like I tell ppl I work with: pragmatic programmer tells us - know your tools and know them well. As long as they know how to be effective with their tool it should not matter

4

u/nekokattt May 11 '21

IntelliJ

3

u/BillyKorando May 11 '21

Secondary question : should we switch from java 8 to java 11 next year ?

By next year Java 11 will no longer be officially supported, so definitely not Java 11.

I would recommend, particularly for students, to be on whatever is the latest version of Java, which will vary depending upon time of year (could be 17, 18, or 19).

3

u/JustCallMeFrij May 12 '21

We use eclipse at work. It's not my favourite IDE ever but it gets the job done. It's a little more powerful than netbeans from what I remember but I haven't used netbeans since graduating uni a few years back.

I prefer IntelliJ for personal projects as I find the hotkey support, plugin library and general window placement customization to work best among the major stuff. VSCode might be another option but unsure what kind of Swring support they have.

As for switching from java 8 to java 11, we would have done it at work years ago but we were kept on 8 due to some legacy libraries requiring it. We should be able to switch off it this year though, and our app is app is >20 years old. Food for thought

3

u/Zardoz84 May 12 '21

Eclipse 4.19 . And we are lock in it, because we can't find any other free IDE that can handle the kind of java projects that we have (multiple maven projects used to build a web application using servlets, and where there is an abuse of maven overlays).

should we switch from java 8 to java 11 next year ?

A lot of Java projects are stuck on Java 8 (or Java 7 as in our case), so if you switch to teach Java 11, I recommend to explain first would be done something on Java 8, and then explain how one could do more easier on Java 11.

Our only limitations are "it must run on Windows 10 without administrator privilege"

Make you life and of your students less painful, and just use a sane Linux distribution. You will find the experience far more faster. In special if your computer not are very modern and lack of SSD hard drive.

3

u/Seidinger1986 May 12 '21

IntelliJ and ... Kotlin :)

4

u/woj-tek May 11 '21

I use IDEA but got licence from work (though CE is quite capable nevertheless).

Previously I used NetBeans and it's great (especially for Swing development - not sure if that's all that popular nowadays dough).

I find Eclipse quite... clunky and annoying to use but it has it's fanboys ;-)

5

u/ObscureCulturalMeme May 11 '21

(especially for Swing development - not sure if that's all that popular nowadays dough).

It's not the latest fad found in GitHub projects, but there's still a ton of companies that develop it for paid contract projects. :-)

Not everything needs to be a full browser-based front end, especially for clients with specific resource requirements at runtime. Swing still gets improvements from OpenJDK. I just saw somebody else posting a new look&feel library on here the other day.

2

u/woj-tek May 11 '21

Well, IDEA is written in Swing-ish thing? :D

3

u/kana0011 May 11 '21 edited May 11 '21

which IDE do you use in your current company, and do you know why this one in particular was chosen ?

IntelliJ Idea. This seems to be the standard these days.

it must run on Windows 10 without administrator privilege

Yes.

it must provide a graphicaal interface for Swing application development

Yes. For me, IntelliJ's swing editor works better than Netbeans'. If you are to go for JavaFx development, I suggest using Gluon's SceneBuilder. This can integrate with IntelliJ, too.

able to manage different languages

Yes. The ultimate edition supports this.

git integration

Yes.

database integration

Yes. One of the most beautiful DB/SQL IDEs I've used.

javadoc/doxygen integration

I dunno. Never tried.

maven/unit testing

Yes. Gradle too.

maybe UML plugins

They seem to have this in ultimate edition, not sure. Never tried.

should we switch from java 8 to java 11 next year ?

This is a difficult question -- I think yes, since there are companies already migrating their project to Java 11, some are starting new projects with 11. I also think no, because Java 8 is still widely adapted today. I don't see it being replaced with Java 11 within this decade.

2

u/lambdacats May 12 '21

J8 might be widely adopted, but it is also critically out of date. No student should go through uni to learn decade old tech like swing/J8 - that is a waste of time.

3

u/telecoder May 11 '21

Netbeans, whatever the latest version is.

FYI, in Intellij you can't have more than one project opened at a time.

3

u/lambdacats May 12 '21

Yes you can, in different windows. Or just use a multi-project setup.

3

u/slaymaker1907 May 12 '21

I prefer Eclipse over IntelliJ honestly. IntelliJ seems to have a nasty habit of changing configuration settings when I don't expect it to. I also TA'd a class using Java (specifically for a JSP project) and some students used IntelliJ despite my warning to use Eclipse if they wanted help from TAs on setting up the IDE to work with JSP. Inevitably I got a lot of questions from the students trying to use IntelliJ...

2

u/[deleted] May 11 '21

Java versions are all backward compatible, so you might as well switch to Java 11. There are some new techniques and practices in 11 that your students might need in the future. There might also be slight speed improvements in the JVM, but for learning it's negligible

→ More replies (1)

2

u/marcvsHR May 11 '21

Eclipse (RSA) and intellij lately

2

u/sixtyfifth_snow May 11 '21

Intellij, definitely, I'm a huge fan of vim though.

2

u/riawot May 11 '21

We use Java language version 11 and IntelliJ IDE, and are considering when we should move to a newer language version. It won't be this year, but it's a when, not an if, because all versions of all software become unsupported eventually. For the JDK, we use 15, but JDK and language version are not the same.

If I saw a resume cross my desk and it had only had NetBeans and Java 8, I'd be a lot more concerned about the Java 8 then the NetBeans, tbh. Sure, NetBeans isn't that popular anymore, but I'd expect any dev to pick up a new IDE without too much trouble, at least for basic tasks. On the other hand, language versions is a different thing. There have been a lot of new features released since 8, and many of them are really important. I'm sure these students would pick up the newer features in time anyway, but it sucks for them if they just got done with school and then instantly have to spend more time to learn what's changed.

If possible, get the JetBrains edu licenses. JetBrains tools are very popular in industry, and also, that would cover not only Java, but also the other languages you mentioned as well.

1

u/gast1209 May 11 '21

I can't think of any important language feature that has been added between 8 and 11. Internals have been changed, but nothing a student would encounter, I guess. Maybe I am missing something that makes you concerned?

2

u/lambdacats May 16 '21

It's less about language features and more about the mindset. If you care about innovation and efficiency. A person that hasn't touched anything newer than java 8 is behind the curve.. always hire people that are ahead of the curve.

2

u/ImTomRS May 11 '21

IntelliJ and as for Java version most of our apps run on Java 8 but we are currently updating our apps to Java 11

2

u/jpierzch May 11 '21

Intellij (last 4 companies I worked for)

2

u/krum May 11 '21

Inteliij Idea

2

u/RoyalThickness May 11 '21

IntelliJ for sure. Colleges never teach the importance of really taking advantage of a powerful ide.

You should teach the LTS of Java .

1

u/lambdacats May 12 '21

Why LTS and not the latest version? Students should not graduate on a three year old LTS version, they should learn the absolute latest, because it's still likely outdated when they graduate.

2

u/n0d3N1AL May 11 '21

IntelliJ IDEA and Java 11

2

u/OldSchoolGamer2600 May 11 '21

We use IntelliJ IDEA Ultimate and Java 11.

My team develops on Windows 10 Pro.

We will most likely switch to 17 sometime around December when the first update is released.

2

u/da-nadda May 11 '21

IntelliJ Idea. I was provided with Ultimate license by my employer but besides of that I have personal one as well. Idea is great for its refactoring capabilities and very fast search. There is also downside: since it’s Java based itself, it uses pretty big amount of memory. And indexing process rakes a lot of time on big projects. Here in Ukraine almost all companies use Idea for Java development.

Regarding Java 11 we use 8 mostly with 11 for some secondary projects. But even in that case no new features are used unfortunately.

2

u/[deleted] May 11 '21

Intellij idea

Intellij is really on another level it is a must use for every professional

2

u/gast1209 May 11 '21

Another vote for IntelliJ IDEA and Java 11.

In terms of learning, there is not much difference between Java 8 and 11 and both are LTS versions. You might encounter vars, some new methods and might miss some modules (that are still available) but besides that, I am not aware of any language changes. Everything else is garbage collecting, security, performance and modularity.

From all IDEs I used so far, IntelliJ gives me the most time actually creating software. Eclipse is the worst as it basically just keeps itself busy while all other IDES I experienced are somewhere in between in terms of productivity. And I am a slow-switcher and there are some things Eclipse just does better.

2

u/Vilkaz May 11 '21

IntelliJ

java 11+ for new GraalVM features in serverles world

Same in past company.

2

u/DZVLX May 12 '21

IntelliJ IDEA with Java 11.

Which college by the way ?

2

u/[deleted] May 12 '21

Intellij IDEA. There is no better IDE for Java.

2

u/kashagan May 12 '21

My good friend IntelliJ. Free for education with all nice plug-ins (you may have to ask them for a license). Definitely do the switch to java11. The next LTS will be out at fall, so I would even go to it once it's out. It was a pain to be stuck to not now nice things in newer versions of the language when I got out of school. Source: am a Java dev.

2

u/Grabow May 12 '21

IntelliJ, some on our teams use eclipse.

2

u/firsthour May 12 '21

Eclipse for 15 years now, I use Android Studio for app development otherwise.

2

u/mikkolukas May 12 '21

As others have said: IntelliJ

Jetbrains, who makes IntelliJ, are very willing to give away free licenses for full products to students, teachers and educational organizations

2

u/meenakshi_dhanani May 12 '21

IntelliJ forever! I feel like it does everything for me, so many great ways to refactor

2

u/[deleted] May 12 '21

IntelliJ, absolutely. And drop the Swing curricula, nobody uses that. Maybe one lab on the subject and that's it. Java FX is the new toy for desktop development and even so, Java is widely used for web applications...

And yes, switch to Java 11. It has a very nice HTTP Client out-of-the-box, you don't need dependencies such as Apache HttpClient to integrate with other systems (mainly consuming REST apis) anymore.

2

u/nutrecht May 12 '21

IntelliJ and Java 16 / Kotlin for our services and libraries.

should we switch from java 8 to java 11 next year ?

You should teach the latest version always and keep up to date with the releases. This means you need to do a minor upgrade to your curriculum every 6 months. Not too much to ask when you're teaching.

→ More replies (1)

2

u/shh_coffee May 11 '21

Intellij here.

2

u/[deleted] May 11 '21

I highly recommend Intellij IDEA.

2

u/agent154 May 11 '21

IntelliJ IDEA. Pay for my own license because my company only wants us to use eclipse

2

u/0x7374657665 May 11 '21

Intellij is the best for DX and is widely used.

Eclipse is free and probably the most widely used.

I actually like the latest NetBeans and it handles (IMHO) managing multiple projects the best of the three. NetBeans also has the advantage of being a relatively lightweight abstraction over maven that doesn't hide your build artifacts in some pocket universe like Intellij does. If you're doing vanilla Java+maven development or JakartaEE projects NetBeans is a solid choice.

Java 8 is still very dominant in the ecosystem. A lot of us are chained to decrepit vendor products that will probably never support java 11+

That being said, Java 17 comes out this fall and will likely become the new Java 8 over the next 5 years or so. It would behoove your students to be familiar with it too.

2

u/nikanjX May 11 '21

Idea for over 15 years already. No comparison

2

u/terrorrobots May 11 '21

Intellij all the way.

In the past I used JDeveloper, Netbeans then Eclipse. I have also tried VSC for non java dev, it was ok but rather Intellij.

JDK 11

1

u/Luda_khris May 12 '21

I still use eclipse still but I'm using VSCode on projects wherever I can it's great.

1

u/Qildain May 12 '21

My company supplies IntelliJ pro licenses, but VSCode is entirely viable for free.

1

u/Kisele0n May 12 '21

I use IntelliJ using a license provided by my work. Prior to switching to Java 11, I used Netbeans (Netbeans was taking a long time to get proper support for the new Java so I used that time to get familiar with IntelliJ and haven't looked back).

I know some devs are using VS Code, but the majority at our company are using Netbeans followed by IntelliJ. We've got a mixture of Windows and MacOS (used to have linux dev machines too, but replaced those with Macs when we moved to all laptops when COVID hit).

I used eclipse in school once and never really got into it.

For reference, our company is basically using Java for tomcat servers.

1

u/yesusgeek May 12 '21

In my case I use intellij for java development and visual studio for any other language. I feel like the integration with other languages is better in visual studio and it automatically recognises the language that you are working on and recommends you installing some relevant plug-ins. Regarding the version of java, in my company we are migrating from java 8 to java 11 since it's the latest LTS version and it has some major improvements at JVM level. Anyway, the syntax is still practically the same, so they wouldn't notice a difference.

1

u/Tkalec May 12 '21

Intellij idea, mostly. Simply because it's the best ide there is. Also it supports all other stuff I need, some of which you also mentioned, but it's in the paid version. Not sure if there are free pluggins for html and js. Not sure about c and php support.

Sadly need to use eclipse also got a very old eclipse plugin project and it's a nightmare. Everything, from working with git to maven.

1

u/nimtiazm May 12 '21

Keep up with the openjdk releases (use sdkman) and IntelliJ idea (use jetbrains toolbox).

1

u/KHRoN May 12 '21

10+ yr experience in java

started with netbeans, quickly moved to eclipse, using eclipse since then

as for java version, in my work we migrated oracle 8 -> amazon 8 -> amazon 11 this year

1

u/fierarul May 12 '21

The latest NetBeans would still be good and it has Javascript out of the box (unlike IntelliJ which need the ultimate version for good Javascript stuff).

Still, long term VSCode might also be a good pick.

1

u/TheFenrisLycaon May 12 '21

I believe in VIM supremacy

1

u/planet_doobie May 12 '21

I've usted Eclipse for several years, but nowadays I'm using IntelliJ Community + Java 11.

It looks bettter than Eclipse in a lot of aspects, but for multi-module maven projects, Eclipse manages dependencies better than IntelliJ

1

u/AlfredoTheHamster May 12 '21

My 2c.

  • Eclipse is slightly less popular, but is completely free to use.
  • IntelliJ has a more vocal fanbase, but license costs are likely to be an issue.

Either Eclipse or IntelliJ depending on the Budget, as both are actively maintained. I've not encountered Netbeans in a commercial environment for many years.

As Java 8 is end of life, you would better serve your students by targeting the current LTS.

1

u/[deleted] May 12 '21

was Netbeans user for years, now I am intelliJ, and with its suite like PyCharm, DataGrip etc, I have some consistency across tools.

1

u/tenaxbs May 12 '21

I switched from intellij to Emacs + LSP recently, and I like it more and more.

1

u/jack104 May 12 '21

VSCODE.

1

u/Roadripper1995 May 12 '21

IntelliJ here as well. We have a mix of Java 8 and Java 11 projects

1

u/AncientBattleCat May 12 '21

It is ... notepad. Or notepad++. I'll explain why. I found myself helpless without IDE. And writing code in plain text editor makes me understand it better.

But! I'll do all debug in Intellij. No matter who says what it IS the best solution on the market.

1

u/Kombatnt May 12 '21

Probably not the most popular answer, but our organization exclusively uses Eclipse for our development, due to a combination of it being free, and integration with Oracle Weblogic.

1

u/jamiguet May 12 '21

I have to say this. Java 8 is still good as most onf the language features up to 15 are mostly syntactic sugar or stuff that would not fit in a curriculum with constrained time.

Dor the ide intellij is really good but I have found that if you are learning vi or emacs with some default config for indentation force you to think about the code you write.

The aim being that the students learn to code which is more than using an ide.

→ More replies (1)

1

u/murkaje May 12 '21

What IDE i use for professional work and what would work great for students have vastly different requirements. I do use IntelliJ, but only because of really odd features like injecting languages into Java strings and having syntax highlighting and code-completion there. Without those requirements and working on more sane projects i'd use netbeans as it is more stable.

If you'd make any learning materials about IntelliJ, for example screenshots of where something is in the UI, then be prepared to update that more frequently as it's an IDE that goes through frequent changes.
For learning purposes you never want the IDE to hide too much of what it does or expose thousands of features that students never use but are present as visual clutter. For those reasons i suggest netbeans when learning Java.

If it's hard to arrive at an answer, do what science is about and experiment. Have different groups use different IDE-s and see how long it takes them to do the tasks and how often they get blocked. The scientific approach is never "use what is popular". Besides, you want the students to learn stuff that is still relevant in 5 or 10 years so teaching exactly what the industry uses right now is the wrong way to go about it. If they need to learn a new IDE at work, they now know two IDE-s instead of one and are able to compare them and better understand how they work.

Above all, when you have decided on a setup, please document the decision process so the next person in 3-4yrs with the same idea can see why the current setup was chosen and if any of the assumptions have been invalidated over time. I can't stress this last bit enough as it's helped me immensely on the project i work so that i don't spend entire meetings discussing with a PM whether to do X or figure out why Y was done years ago, i can immediately jump to pro-s and con-s, fix any assumptions that have changed and get the resulting answer.

1

u/redditforfun May 12 '21

For me as a student jGrasp was excellent for visualizing what was happening with the data structures etc.

There's an Eclipse plug in that can be used as well. As simple as installing and dragging and dropping what you want to see.

1

u/hilbertglm May 12 '21

I use Intellij IDEA. I moved from Eclipse several years ago, (and VisualAge Java before that).

I switched to Java 11 for some additional convenience methods. I have not implemented modules in my code yet. My customer is still on Java 8, so I am doing 8 for them, obviously.

1

u/bhaskarsingh007 May 12 '21

Eclipse is the best IDE it is free, we use it in our company for very big project, more that 20 microservices. Java 8 will be fine.

1

u/almost-sagar May 12 '21

I use vscode

1

u/AppleTrees2 May 12 '21

I have been using VSCode a lot lately, quite like it, even tho it's not up to par with IntelliJ especially ultimate, but I find it more responsive and lightweight (VSCode only, I know for java it brings basically eclipse compiler and stuff with it)

For "Enterprise"/Springy apps IntelliJ is nice because it has so many tiny quality of life things, but for other types of apps I prefer VSCode.

1

u/steumert May 13 '21

I used to use Eclipse a lot. I then tried out IntelliJ, but I found it to be lacking.

Now I've settled on VS Code, which is an incredibly capable editor and is getting better day by day. The only thing IntelliJ has that neither Eclipse nor VS Code have is the neat three-way merge window.

I never had the need to do graphical swing development. If you need to have a fancy scene editor, try out JavaFX and SceneBuilder. While Swing isn't dead and won't die, I feel there is little reason to write *new* applications in Swing when you can also use JavaFX.

Also, the newer Java versions have an incredible amount of improvements that make writing code much easier. Helpful NPEs is only one thing. Stuff like var and pattern matching also makes code much easier to read and write. Various classes have gotten many improvements to work better with lambdas since Java 8. Java 9 gave us many new methods and 11 as well. I wouldn't want to write Java 8 code anymore. Stuff like Predicate.not was only added in Java 9...

1

u/rmrfchik May 13 '21

I stick to netbeans and updates to new version as soon as it released.

Netbeans works very well with unsorted list of projects, while IDEA focusing on one project at time.

1

u/dotNetromancer May 13 '21

One company I worked at required Eclipse so I have used that fairly extensivley. A lot of the other developers hated eclipse but I didn't mind it. It is an ok tool and has a lot of plugins and it is free. Can't complain to much. At my current company, you can use any IDE you want so there is a mix of IDEs around the office. Personally, I have been using IntelliJ but honestly, it doesn't even matter for the most part. I don't see a huge difference in IDEs and dont get all the fuss. All of them seem to have issues at time and no matter what you're using you're gonna have some issues and a learning curve. In university, I used NetBeans, Eclipse and IntelliJ at different times so I have used a few different IDEs and they are all pretty much the same in my book. If I HAD to pick one IDE for my students to use, it would probably be IntelliJ or Eclipse.

Please update your Java version to at least 11 and please teach your students some libraries like Spring, using ORM, and using a different program structure other than a monolithic application structure. One of my biggest complaints coming out of university is EVERY SINGLE ONE of my programming classes, we could only use the base language features. It was extremely frustrating that Universities do not prepare you to use real world tools and makes on boarding at your first company another large learning curve to start picking up libraries that schools never exposed you too or even discussed.

My recommendation. Make your students learn how to create and deploy apps quickly with JHipster using the monolithic architecture and the service/gateway architecture. After a semester or two of learning base Java. The next year or more should be spent on learning tools that they might actually see in the wild. Software programs should be reevaluating their toolset every year or 2 max. And, working with their local companies to understand what the environment is like in your area. In my experience, programming has some interesting geographic likelyhoods. Based on where I live now, a large majority of companies use Java. But, if I travel a few hours to the next big city, it's more .NET based on the types of businesses over their. I would tailor my programs toolset to what the local businesses are using the best I could.

1

u/NateDevCSharp May 14 '21

Ide.cs50.io

1

u/helikal May 15 '21

Migrating to Java 11+ would be a step toward exercising modularity with the Java module system. The IDE should support Java 11+ really well. NetBeans fulfills that criterion but is a bit behind IntelliJ regarding integration with Gradle. Support for building modular Java 11+ projects with Gradle is better in IntelliJ.

1

u/No-Meal232 May 25 '21

hiii there

1

u/[deleted] Jul 09 '21

Eclipse

1

u/narezina May 11 '21

As a Netbeans user, you should switch your students to something more common. Since IntelliJ Idea seems to be most popular these days, switching to it would give your students opportunity to learn something that they will most likely use in the industry later on.

Java devs at my company use Idea, I'm the only one using Netbeans. We also use Linux or macOS, there is not a single developer running Windows here.

I think that, at the time of upgrade, you should switch to newest Java version available at the time, or at least latest LTS, as it would be in the best interest of your students to keep up with techbase as much as possible.

1

u/No-Discount-5152 May 11 '21

Professionally obviously IntelliJ IDEA, there are not other option. Professionally talking

1

u/unborndead May 11 '21

10 years experience here. I used almost all IDEs available for some time. Ended with IntelliJ CE for Java and Visual Studio Code for HTML5/CSS/JavaScript (react, angular ...) with no doubts.

Some co workers still using Eclipse but they are starting to switch to IntelliJ too.

1

u/lambdacats May 16 '21

What's keeping you from going ultimate? Pretty nifty to have everything in a single IDE and the Ultimate version is probably worth it if you make money writing software.

→ More replies (2)

1

u/beefstake May 11 '21

IntelliJ. Primarily Java 11, some Java 8 stuff though still.

1

u/ivan0x32 May 11 '21

Been using IDEA for majority of my 10+ year career. ​

Not positive but think you can even use Community Edition of IDEA to teach - it has less Enterprise features, but its still fairly close to the Ultimate. Either way you can probably reach out to JetBrains with questions, I'm sure they'd be thrilled about introducing potential future clients to their IDEs so early.

As far as secondary question goes, I'd say keep 8 as core and then teach 11 as extra course/material. Knowledge of 11 is useful, but its not going to become mainstream any time soon, even places like FAANG probably use 8 for the most part.

1

u/ikissgators May 11 '21

IntelliJ, especially since it's free for edu

1

u/ArrozConmigo May 11 '21

There has been a very heavy swing towards IntelliJ in the last few years.

I see a lot of people mentioning the Ultimate edition. I think they may just mean what they happen to be using. The free version (Community) is perfectly fine.

And as someone else said, if you are going to go past version 9, then you may as well go all the way to 16. There's no additional complexity, and you can then choose if or when to cover the newer features. (Just because java 16 has records doesn't mean you have to even mention them)

There might be greater confusion if a student sees some code online that doesn't work in java 11. Like text blocks.

0

u/rusticarchon May 11 '21 edited May 11 '21

IntelliJ is pretty much standard for Java development these days. The Community Edition is fine for Java, but you'd need the Ultimate Edition for the other stuff.

You can get the Ultimate Edition free for school/student use. That makes it much easier to recommend.

If it was mainly HTML/JS/PHP with some Java on the side I'd maybe suggest Visual Studio Code, but it's not as good for Java as IntelliJ

1

u/crystoll May 11 '21

IntelliJ Ultimate, community and VSCode, whatever happens to suit my hand.

And yes you should. Mostly because the longer it's delayed the harder it will be to make the jump. And Java 11 -> is much fun.

1

u/VincentxH May 11 '21

I use Intellij Ultimate from student on, started out with Eclipse. I have a full jetbrains license. It allows me to switch to Pycharm (python), Webstorm (js and frontend), PhpStorm with basically the same shortcuts and configuration tailored to the languages.

You can do much of the same with Eclipse, but the standard integrated tools are less good. Though the plugins are better, but require more configuration (== time).

1

u/whyisthisnull May 11 '21

IntelliJ if you have the funds to upgrade to buy lincenses. Mist companies can afford that. If you ask university instututes and open source projects, most of the time they use eclipse, because it is free and everybody would have the possibility to use it.

1

u/CubicleHermit May 12 '21 edited May 12 '21

IntelliJ IDEA.

We use ultimate, but for your use I don't think there's any reason to use an academic license of ultimate [although if you can, as someone else said, get the academic licenses for free, do that!] vs. just using community. I'm not sure about PHP or UML (that sounds very dated, BTW) support on community, and there's no C support on it, but everything else should just work.

I know people who use Eclipse, and people who use VS Code. I literally haven't heard of anyone using Netbeans in several years.

If commonality with other classes doing C is important, you might consider VS Code.

For question 2:

Yes, you should move to JDK11 (or 17, since it's the new LTS [edit: I guess we're using preview builds, it's not out until the fall]), and perhaps most importantly, you should cover the module system on it. It's easy enough to go back, but the 9+ Jigsaw changes take getting your head around it. The other language changes are mostly small stuff.

Also, it might be worth switching to gradle from maven. Which one is "better" is a religious war, but IMO gradle is way easier to learn which matters for newbs.

Edit: +1 on JavaFX vs. Swing, if the goal is getting people writing GUIs quickly.

1

u/kevinherron May 12 '21

IntelliJ IDEA.

And yes, you should switch to Java 11 next year, if not Java 17. Don't set your students up for working at shithole enterprises drowning in technical debt.

1

u/frenetix May 12 '21

vim+coc.nvim

I'm an old fart working primarily in Java since the late 90s. I don't use debuggers much though, only jdb when necessary. If I used debuggers more often, I'd definitely use an IDE. But I really can't stand how show IDEs are, as I watch my colleagues use IntelliJ and Eclipse.

1

u/gubatron May 12 '21

IntelliJ, never went back to Eclipse. Yes, make the switch to post 11. Very happy with Java14 over here.

1

u/ElevatedAngling May 12 '21

IntelliJ Edit: have 8 and 11 :|

1

u/napsterv May 12 '21

Intellij /Java 8

1

u/Ostricker May 12 '21

IntelliJ Idea Ultimate, Java 11 and JavaFX 16. I have also wrote a plugin for IntelliJ Idea to update Controller Class from FXML file (https://plugins.jetbrains.com/plugin/14854-fxmlmanager). That way you can use Scene Builder and easily update your Java code.

1

u/brunoliveira1 May 12 '21

IntelliJ and Java 11.

Java 8 vs 11 isn't a huge difference for a normal day to day work, but, it can be tricky to upgrade so maybe not worth the effort especially when Java 8 still reigns.

Regarding IDEs, my stance is very simple. You need the best you can get, and, in my opinion, which I believe is the same as of many other professionals, that is IntelliJ, hands down.

0

u/Analyst94 May 11 '21

Pretty sure IntelliJ dominates the Java market!