Java certainly has obtained a bad reputation in the sciences, however.
The JVM has a lot of matrix library fragmentation.
But in julia, its written in julia. There are even julia native tensor and matrix ops.
And the JVM's costs in terms of deployment and startup times aren't very attractive for scientific workloads. You wouldn't gain as much in a migration from Python or Matlab to Java (or any other JVM language) as you would to C++ (or increasingly Julia), since you'll likely still need access to the same native libraries and JNI is kind of a pain.