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

159

u/edman007 Jun 12 '20

Java has it's good points (it runs everywhere), but the flip side is it feels clunky. Standard Java apps don't use any OS specific things. That means it doesn't accept your GTK themes, your KDE themes, it doesn't integrate well with any system service.

I think Java just feels clunky, and it's largely because if you want an app that runs everywhere then it nessicarely can't integrate with anything, it can't be optimized to any system, and it needs to follow its own rules so it doesn't work well with any OS.

Now it doesn't have to be, I've see Java apps that use the native libraries, but they were not cross platform.

15

u/larrylombardo Jun 12 '20

I think the reason I avoided Java was because it was too common and generalized.

As a budding Linux programmer, every choice was a purity test of my elitism. Everyone else can learn Java, I'll be over here with my lisp and asm and C, m'Linus.

I never did pick up java, but I continued trying every other impractical lang of the week for years. It was the equivalent of telling people I'd never eaten at a McDonalds or been to a Wal-Mart, as if that quality alone set me apart.

I don't regret it, but as a fully formed adult, I no longer feel compelled to mention when the topic comes up, "I don't use Java, btw".

7

u/deong Jun 12 '20

I know Java, but I'd rather just find something else to do if faced with actually using it professionally. Life's too short for AbstractFactoryBuilderVisitorBridgeFacadeDecorators.