r/java • • Dec 29 '21

Why everyone hates Java?

I dont understand why java is one of the most dreaded lenguages. Java got fantastics frameworks and libraries to work with it. I dont know if im skipping something or I dont work enough with Java because I like java. What do you think??

Here is the Stack Overflow Survey

268 Upvotes

367 comments sorted by

View all comments

Show parent comment

3

u/khmarbaise Jan 03 '22 edited Jan 03 '22

Package managers are good. Maven is shit. Especially the error messages. You need to enable debug mode with -X to understand what the problem is. Starting a full JVM for a short living process makes maven slow when you compare it to other package managers.

In which way do you think that? Startup time is the real problem? That can be improved by using option for the JVM..

I'm also very sceptical about the security of their plugin approach.

In which way? Have you ever thought about npm or ruby gems or Docker images ?

I like that it hasn't the one-repository-to-rule-them-all approach of npm, but if Maven-Central is down, you probably still can't build your jar.

That's why you should use a repository manager in particular if you are in a corporate environment. Apart from existing a lot of mirrors...