Nearly everything written in Golang is deployed as a static binary with minimal dependencies, which is partly why it has grown in popularity.
It’s a nearly universal experience that different language runtimes have very different experiences with dependencies. Someone who ships a Node, Python or Ruby-based tool for example has a tough time, to the point of needing to write a wrapper installer that vendors all dependencies including the runtime itself, just to be sure.
The JVM with Maven and fat JARs isn’t probably as bad as these cases, as mostly it’s just requiring a compatible JRE. This is why Spring Boot apps for example are so popular for deployment - no more app server insanity!
Jlink makes this more like Golang, but isn’t used enough.
That said Golang dependency management for the developer / builder is a history of horrors. Maven has had its issues but has gotten past most of them.