There's always a few steps involved, install java runtime environment, typically openjdk-jre or something like that on most distros, then "build tools" which downloads and compiles the latest version. Not very complicated once you know how to do it but it takes some time either way.
I find the Arch Linux solution very convenient, with the aur package.