r/linuxquestions • • Jun 12 '20

Resolved Why does everyone hate Java applications?

I see it generally everywhere I go as a Linux user: almost everyone has some kind of problem with Java applications. I understand Java as a development platform has some rather infuriating holes regarding its deployment methods, and the most common issue I've seen are memory leaks and just how memory hungry the applications can be by themselves.

Is it a concept of purity? Or is is just because of some other reason that seems to escape me? I use some Java applications almost daily without problems. So why the grudge?

Opinions, rather than absolute answers, are expected.

Resolved -- Technically, there have been several wonderful and informative answers here on this post. Some answer the question better than others. However, not one singular answer is fitting enough to answer this question, so I thank everyone who took the time out of their day to enlighten me about Java and its rather unfortunate history. Thanks again!

128 Upvotes

137 comments sorted by

View all comments

28

u/heaxyh Jun 12 '20 edited Jun 12 '20

From a programmer perspective: I personally ok with java. But for sure it isn’t my preferred language. Java lacks on modern features compared c#. To write applications it felt really verbosely. There are language out there, that require less code and are easier to maintaining.

11

u/VegetableMonthToGo Jun 12 '20

That was once, but later versions of Java, Scala or Kotlin have taken back the throne.

0

u/PM_ME_YOUR_REPO Jun 12 '20

Too bad the tooling and development ecosystem still sucks.

1

u/d360jr Jun 12 '20

For Java? I haven’t really found a debugger as easy to pick up and use as beginner in any other languages. Eclipse Java is great.

I had a tough time finding a comparable environment for c/cpp that was just as easy to setup and run on any platform. It legit took like over four hours to get cpp boost libraries going for class in vscode just because the documentation and sucked coming from eclipse Java.

What’re you comparing it to that has such a good ecosystem?

1

u/PM_ME_YOUR_REPO Jun 12 '20

Visual Studio beats eclipse in every way I can think of. Alternatively, taking things from a simpler angle, Go has excellent tooling.

1

u/d360jr Jun 13 '20 edited Jun 13 '20

Huh, VS looks alright if you’re on a supported platform. Go looks alright too.

I’m always going to be a bit salty that they taught us Java in class. The error messages and documentation made it so much easier to learn than other languages I’ve worked with. Take that with a grain of salt though cause I’ve been writing mostly HDLs the last year. Tools in that space are trash :/

Edit: Just realized the sub. I don’t think recommending VS to Linux app developers is the wisest choice haha. Unless you meant code but there’s no Linux support for classic.

Eclipse is basically identical for Java on every platform. Seamless between all of my machines (Linux and windows boxes, a MacBook) which is super nice. Just sync to git when I’m at home or away and everything is the same.