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

Show parent comments

7

u/[deleted] Jun 12 '20

That means it doesn't accept your GTK themes

If you set it to use the native L&F then yes it does.

1

u/Atralb Jun 12 '20

L&F

?

1

u/[deleted] Jun 12 '20

look and feel

1

u/Atralb Jun 12 '20

Oh ok. Well then it's a poor argument honestly.

You can justify anything like that : "if you modify my program and recompile afterwards you can make it work on any platform, so it's not a problem that my program only works on my system natively"

2

u/[deleted] Jun 12 '20

You don't have to recompile anything to use a different Swing look and feel.

https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#commandLine

0

u/Atralb Jun 12 '20

I'm pushing your stance further to explain how it is not a good argument.

You can always find a solution to make something work. Always. The relevant thing to look at is the time taken to achieve each solution.

When someone compares java and other tools saying the latter will work with your themes out of the box, there's no use saying "oh it works with Java too, just configure it too work".

The first solution is better since it requires less work.

2

u/[deleted] Jun 12 '20

You can always find a solution to make something work. Always.

Except for the hundred thousand new apps that only have a dark theme you can't change without recompiling (if it's even open source). You know, like the vast majority of Electron apps.

oh it works with Java too, just configure it too work

So as you can see, the option to do it with just a command line switch is not a lot of effort.