That said, if on the JVM, just use Kotlin.
and with the GraalVM, JavaScript/Node, Python, R, and Ruby.
among many others.