News for hackers. Stuff that matters.
Re:Java Is Underhyped by sixbrx on Friday April 16, 2021 @08:41AM (#26833143)
IDE's can be fiddly, and anyway I don't think it's good to depend on an IDE for building.

The project could have been set up instead with the "Maven wrapper"(1) which provides "mvn.cmd/sh" scripts at the top level of the project to fetch and run the proper Maven. So after cloning the project, all you have to do is set a proper JAVA_HOME if it's not already set, and then do "./mvn clean package" at the top of the project to do a complete build. The IDE's will then set themselves up properly if you import the project as a Maven project, and will sync with changes to the Maven pom.xml whenever it changes (Intellij does at least). That's really hard to beat.

(1) https://github.com/takari/maven-wrapper (Being integrated into Maven itself soon).

Re:Java Is Underhyped by the_gipsy on Friday April 16, 2021 @10:00AM (#26833957)
I can (and often do) build from CLI, that is much smoother. I tried using vim on java, but honestly you need an IDE for all the constant code generation and incessant fixups by mouseclicks that are needed. Vim+coc is more than enough in the other languages that I use.
Re:Java Is Underhyped by dboreham on Friday April 16, 2021 @10:24AM (#26834252)
You're living in a parallel universe from the rest of us. IDE isn't necessary (and positively odd) for building Java.
Re:Java Is Underhyped by vips7L on Friday April 16, 2021 @11:19AM (#26834940)
He is. VsCode (or any editor) + the Eclipse Language Server is more than enough. His complaints about debugging is because he doesn't know about attach debugging.
Re:Java Is Underhyped by the_gipsy on Friday April 16, 2021 @10:46AM (#26834519)
You do need to be able to build from IDE when you set breakpoints to debug.
Re:Java Is Underhyped by Hackbraten on Friday April 16, 2021 @10:50AM (#26834585)
Your IDE should be able to connect to any JVM that has been launched with the proper VM arguments.

We occasionally do remote debugging at work. It’s just a matter of copy/pasting the correct JVM incantation into the IDE.

Re:Java Is Underhyped by Hackbraten on Friday April 16, 2021 @10:47AM (#26834538)
I feel the parent comment was about editing, not building.