I learned Java in the 1990s and heard that there would be CPUs with Java. Today, My Raspberry Pi has such a chip. JDK gets installed with one the distros I use. I can run Java on a variety of platforms if I want.
The reasons I avoid Java:
* too many large updates in the past for vulnerabilities.
* two large corporations extinguished Sun Java.