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

10

u/qqqhhh Jun 12 '20 edited Jun 12 '20

I am programming a java backend - java is fine for backend apps but the desktop app experience is and was terrible.

- It is about the past experience with desktop java applications including applets since around 2000's. The runtime was huge for the time then, today it is normal compared to other enviroments like .Net . Today it is much much better, but the bad experiences still resonate.

- Startup times of the JVM were huge in the past when most of today experienced users were learning

- in the past the overhead of the JVM could be surely felt in the responsiveness of desktop apps. Today it is not perceivable thanks to many advances in JVM performance and hardware speed.

- You have to install the JRE, that is an unfair disadvantage because .Net is already present in Windows, and if you had to install .Net every time on a new PC it would feel the same. Today the 200mb runtime is negligible. In the 2000's it was HUGE. Today just the GPU drivers take a DVD(4GB) to store. Simply said the native .Net enviroment has many unfair advantages on Windows thanks to M$.

- There was a time period of booming internet where Java was used as an attack vector because of many bugs in applet enviroment or JRE, the creators of the JRE had to finally do a proper updater. That made a impression for many years that Java is insecure.

0

u/Nemoder Jun 12 '20

So much this. It has a really bumpy history and not just on windows but Linux runtimes had a lot of problems over the years with fonts and sound systems. Even today many of the java applications I run don't play well with me switching workspaces and will just freeze.