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.

27

u/PunctualEmoticon Jun 12 '20

it's largely because if you want an app that runs everywhere then it nessicarely can't integrate with anything

Don't Qt apps do this well? I don't have any experience with Qt development, but I was under the impression it visually blended in very well.

7

u/jess-sch Jun 12 '20

Don't Qt apps do this well?

On Windows and Qt-based desktops (e.g. KDE)? Yes. On GTK-based desktops (e.g. GNOME) and macOS? No.

5

u/Zanshi Jun 12 '20

It really depends on what theme you're using. I had really good results with Numix applied through lxappearance, and using qt apps with with the other settings manager (not the KDE one, forgot the name)

1

u/jess-sch Jun 12 '20

Numix has both a GTK and a Qt theme, which are made to look as close as possible to each other. That's why it works. It wouldn't work if your theme wasn't explicitly made for both.

3

u/Zanshi Jun 12 '20

Yes, that's why I said it depends on the theme, at least on GTK based desktops