I think it’s a mix of three things.
-
Java is the only programming language to get popular as a result of marketing. Java was marketed so hard that the company who built it (Sun) went under, but Java did get some really wide adoption.
-
Java is the backbone of Android. If you want to build apps for Android you’re using Java or one of the languages built on top of it (Kotlin, Scala, etc).
-
It’s pretty hard to justify rewriting your codebase to another language. So Java is still around. If you need more proof of this, Most people are still using Java 8 (including android) we are currently at ~java 20.
lobut@lemmy.ca 1 year ago
It’s fairly ingrained in the programming world now. A lot of common problems are known and solved. A lot of devs can code in Java with little uptake. Java runs everywhere. The tools are pretty good.
Desktop apps and servers run it. So like, processing things and all that run well with it.
As mentioned before, Android uses it too. So there’s a lot going on.