Why does Java filter so many people?

I know hating on Java is a meme online, but let's be real here. Those memes are created by reddit Pythonkiddies who were filtered.

Most professionals have good things to say about Java and it's still easily one of the best languages to know. Is it the best at everything? Of course not. Specialised languages exist for a reason. But it's generalistic, delivers industry standard results in every situation and it has great compatibility. As a bonus, Java devs can easily roll into Kotlin and C# projects (because Microsoft Java is still Java). Looking at other languages, what is there even to compare it too?

JavaScript: totally different function to Java. (also TypeScript is way better).
Python: all the problems of JavaScript, but none of the upsides. Weak typing, dumbed down features and does poorly in both performance and scalability. Would not use in any kind of complex project.
C#: literally Java, but limited to MS.
Go: Promising, but not mature enough
Kotlin: Java but super charged.

>but muh stackoverflow survey
Yeah, imagine that. A survey of a site where most people are still learning to code favours a language used by brainlets
>Tiobe
Still shows Java in top 3 next to C and Python. Python is literally there because the C boomers were forced to learn it by their FAGMAN overlords.

Taking all of this into account, why do so many people hate on Java? Is it because it was their first language? Is it because strong typing filters them? Is it because so many webdevbrainlets just want to use JS for everything?

Attached: logo_java.jpg (1200x678, 88.4K)

good morning

>Is it because it was their first language?
It's because first year computer science students with no idea of prgramming try to blame their failure to understand on the language they are learning.

C > Java though.
But you're very based, OP.

I just look at it from an operations level.
>Install JRE
>Run some Java code that's targetting the same version as installed JRE
>"Duuuuh no JRE found" error message in Windows under certain circumstances

This, and this alone, perfectly kills Java for me. No debate. No interest in researching further. THIS is the deal-breaker.

hello to all the wonderfull sirs in this thread

Attached: 1644679042935.png (1280x720, 1.57M)

If you can't even set up %JAVA_HOME% on windows, I guess you're not proficient enough to get hired on any operations role.

It's a very good language and can do a lot. Most people hate is because funny maymay and no actual arguments. And if they do have some arguments it's gonna be amount MUH JVM.

about*

back to loo overflow

Attached: 1644692635121.png (1920x1080, 169.42K)

I can, point is, I won't do it because I except the installer to do exactly that and more, I expect the installer to handle the case where several JREs are installed. If I have to hand-configure %JAVA_HOME%, it's a dealbreaker for me. The promise is "Write once, run anywhere". I personally hold the opinion that automated handling of environment variables necessary to run it all need to be part of the installer.

Give it 2 more years and there will be more python developers.

They should legit be grateful that Java holds their hand as much as it does. You literally can not fuck up with Java considering how strong the typing is. I'd imagine if they started with Python, they'd be filtered right out of CompSci.
>dur why do I have to cast variables to objects to use their methods
>dur why do I need to pass self? How come the object doesn't know itself?

Thank you boomerchad.

So you can't define a global variable in windows? Literally every language can get this error. I've seen this error pop up so many times for so many projects for every language and framework that I have a shortcut to the global variables on my desktop.

Windows: choco install openjdk
macOS: sudo port install openjdk

it just works, it even sets up the env variables for you.

>Literally every language can get this error.
Never had this problem with .NET. Nor do I know anyone who ever had.
Correct, but Chocolatey appeared looooong after I have conclusively decided to fuck Java forever and never look back, so I don't give a shit anymore. Java had decades to fix this, I am not interested anymore.

While I get what you mean, this is never a problem during dev since the IDE will run the correct Java and you can assume that the server running the code is configured correctly.

>and you can assume that the server running the code is configured correctly
I had customer C-levels scream down people from my staff because of this, so, with all due respect: No, from my experience, I cannot assume this.

Microsoft Java all I need.
EF core is a blessing.

Holy shit sounds your customer is a piece of shit.
We run various projects on both 8 and 11 and this has never been an issue. We're currently running a big upgrade sprint to get everything up to 17 and the issues have been minor at best.

C# chad, could you explain?
Context: been Java Enterprise for couple of years and I wanna explore .NET.

I'm a noob.
Recently started using Go and it's so simple and clean.

Looking back at java it just has too much of everything and you won't use 99% of it.

Doesn't that just mean you just haven't needed the tools at your disposal?

you are literally retarded