Was gonna say the exact same thing. Getting Java installed is always a bit of a headache but that's really the only hard part. Once your JVM is good, everything from there is easy.
And even the JVM part, it's not HARD, just annoying.
And even the JVM part, it's not HARD, just annoying.
apt install openjdk-21-jdk-headless
Or equivalent, no?That sounds fine though. The PATH variable is a nicety for the user to not need to type long paths, really like using ~ for the home directory, not for program setup.
I'll accept installing and running software on Linux has an unfamiliar procedure for those used to Windows or Mac.