This interview with Bob Lee is really interesting on this topic: https://www.infoq.com/interviews/lee-java-di.
Apparently, Square was first built out on Ruby with the mindset that the JVM is an old clunker.
Fast-forward a few years they switched to the JVM because it was faster and the language (I know, not related) provided compile-time safety.