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

4

u/jemag Jun 12 '20

I think your feeling of "majority" or "everyone" comes mainly from the fact that every once in a while there will be comments on reddit like "Ah, but at least it's not Java", that receive a fair amount of upvotes.

Java is simply a divisive language. There are people that simply despise Oracle, there are people that do not like its heavy Object Oriented focus, there are people that saw a couple decade old information about Java and think it still applies (e.g.: lot of security problems, poor performance, bad tooling - you can even see a lot of those in this thread) and finally there are the non programmers / script kiddies that learn the basics of python or bash and think they have now grasped a solid understanding of programming and other languages.

I have programmed in many different languages, and while Java has it flaws (like heavy memory usage), it still has a lot going for it. I would say that if you go by actual professional programmers, the majority definitely does not hate Java, it is in fact still quite popular (especially in web development).

Note: I have just re-read your post and realized you might be talking specifically about desktop applications. If that is the case, UI can indeed be clunky to develop in java and it will often have a higher memory usage. Although it is still possible to make great desktop applications in java.