The JVM and tools + libraries built around it are great. Java itself is trash, IMO - I really don't see any reason you'd want to write Java instead of Kotlin. Saves you the hassle of boilerplate, introduces plenty missing features/improvements, runs on the JVM and on Android as well, and switching over is trivial.