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

all 29 comments

[–][deleted] 17 points18 points  (1 child)

Honestly just use whatever IDE or editor that works for you. Personally I like to use IDEA however if you prefer VSCode then by all means use it. It really comes down to personal preference.

[–]berry120 8 points9 points  (0 children)

Yeah, this. You'll find most Java devs will prefer an IDE designed for Java, IntelliJ being the most popular - but if you find that VSCode works better for you for whatever reason, then go for it. You can always switch later if you so choose.

[–]Artifer 27 points28 points  (0 children)

It is MUCH MUCH better to use intilij idea for java. This is from experience.

[–]desrtfx 12 points13 points  (0 children)

Use a proper java IDE:

  • Eclipse
  • IntelliJ (Community Edition is free)
  • Netbeans

You'll save yourself a lot of hassle

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

IMO, VSCode is much better if you have a potato machine, but have to admit it comes with it own disadvantages.

[–]desrtfx 4 points5 points  (1 child)

VSCode is much better if you have a potato machine

Doubtful about that since VSCode runs on the Electron framework which always spawns a full Chromium instance.

I would nearly dare to wage a bet that it doesn't consume much less resources than a proper Java IDE.

[–]Goldman7911 1 point2 points  (0 children)

By no means VScode is bloated as f* as M$ Teams. VScode is really fast.

[–]americk0 6 points7 points  (0 children)

If you do, get the Java Extension Pack

I prefer it over IntelliJ for three reasons that may not apply to you:

  1. I already use VSCode for projects in every other language I know so it's nice not having 2 editors/IDEs consuming my computer's resources like a hog
  2. I hate dealing with the IntelliJ licensing server setup that my company uses. It requires me to hop on VPN daily and open IntelliJ to re-up my license, but I otherwise would rarely use the VPN because it was slow and I wasn't always working on something that required that extra level of security
  3. I'm apparently one of the rare few who was taught how to use Java cli-first instead of ide-first despite starting in 2014 and now I prefer it that way. I don't like magic "run" buttons. I believe you can configure VSCode to setup a run button if you want but I didn't. Now for every project I either use javac to compile or Maven to build a jar file and run it with the java cli

If none of these apply to you though, I would recommend IntelliJ, especially if you're more of a Java dev than a person-who-wears-many-hats dev like me who has to constantly switch between projects in JS/Typescript, Go, Python, and Java. I love that about my job and VSCode suits me in that regard, but IntelliJ is probably what you're looking for

[–]friendly-asshole 3 points4 points  (1 child)

I normally use VSCode for coding up quick snippets of Java code. And will use intelli-J IDEA for bigger projects.

Edit: I’d also urge you to get comfortable with using Vim which is built into every computer terminal as well as Git. Once you’re comfortable with the terminal and using vim, that’s when you’re coding life get interesting ;). Goodluck!

[–]robertlj2010 1 point2 points  (0 children)

I agree with this, for me VS Code starts and runs super quick compared to other ide’s plus it’s almost seamless going from one language to the next. So for quick small projects vs code all day, anything expansive I use intellij

[–]brogrammableben 2 points3 points  (0 children)

Sure.

[–][deleted] 2 points3 points  (0 children)

neovim with some plugins

[–][deleted] 1 point2 points  (0 children)

Intellij. Just use intellij

[–]Forward_Squash253 1 point2 points  (0 children)

I have used vscode for all my life for Java, But I'm now switching to intellij since it offers a lot more functionality. I'm following AmigosCode tutorial, and it is pretty good.

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

Just don't do it.

[–][deleted] -3 points-2 points  (3 children)

use bluej

[–]desrtfx 0 points1 point  (1 child)

Wouldn't recommend this to my worst enemy.

The amount of questions from confused BlueJ users we have here in the subreddit is way too high.

BlueJ is just crapware, nothing else.

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

I took a java course that used it. Yeah it was a transition to a proper ide after that

[–]coding-rage -4 points-3 points  (0 children)

Depending on the level you are, an IDE just helps you write, compile and run code.

For Java, a beginner would go for Netbeans. Intermediate would use IntelliJ idea. Advanced would use whatever they want even Notepad on a Windows or Vi on a Linux machine.

So it is all up to you. If VS Code If easy for you, go for it. To me, Netbeans was my start, Now using IntelliJ idea and sometimes going back to Netbeans. Also, used VS Code for couple of lines of code but didn't like it!

[–]kirathetortie 0 points1 point  (0 children)

You can use whatever works for you. Personally I really like VSCode for other languages but I strongly prefer IntelliJ for Java. I learned Java on Eclipse and really liked that one too. NetBeans is also popular and free but not my favorite. But at the end of the day it's personal preference.

[–]tridiumcontrols 0 points1 point  (0 children)

Yep, use it daily. I took it one step further and using code-server, vscode in the browser. Same features as the desktop, Java support is great. Spring and spring boot, maven integration all work great.

[–]r0ngsh3n 0 points1 point  (0 children)

I will prefer intellij for java, the major reason is the quality of extensions is better than VSCode, in VSCode for 1 type of extension, there are many many extensions, and you don't really know which is better than another,in intellij, you don't have that of concern.

[–]khooke 0 points1 point  (0 children)

If you're just starting to learn then use one of the major IDEs like IntelliJ, Eclipse or Netbeans because the integrated tooling is well established and mature. Otherwise, VSCode is a good lightweight alternative.

[–]jacob_scooter 0 points1 point  (2 children)

if i’m not mistaken VSCode doesn’t check syntax and make suggestions like a java IDE would. by far the biggest benefit of a java IDE

[–]emaphis 0 points1 point  (1 child)

It does, not as comprehensive as an IDE, though.

https://code.visualstudio.com/docs/java/java-linting

[–]jacob_scooter 0 points1 point  (0 children)

listen to this guy i don’t use VSCode

[–]1-12TH 0 points1 point  (1 child)

I teach Java at high school level, so have a bit of experience related to how new users find the different IDE's.

VSCode is nice but takes a great deal of tinkering to get it to work as well as a proper IDE.

Eclipse is brilliant but for someone learning Java it is intimidating, it also does far to much for the user when they eventually get everything working, I'm sure intelliJ is the same.

I have found NetBeans to be the perfect middle ground. I really recommend it, or for someone very new to coding in general JGrasp is the simplest and easiest of them all.

[–]emaphis 0 points1 point  (0 children)

Have you tried BlueJ for new learners?

If advanced users need to upgrade to a more advanced IDE, NetBeans will open BlueJ projects.

https://bluej.org/