I'm not sure where you get the idea that the Java ecosystem is shrinking when every quantifiable measure (stack overflow polls and data releases, GitHub data) point in the other direction.
Further, if you factor in the growth of languages like Kotlin and Scala the JVM is blowing Python out of the water.
Further, if you factor in the growth of languages like Kotlin and Scala the JVM is blowing Python out of the water.