Skip to content

shell-startup-files

1 Post

How to Set JAVA_HOME on Windows, macOS and Linux (and Check It)

How to set JAVA_HOME so Maven, Gradle and your IDE all agree on one JDK: the exact path to use on Windows, macOS and Linux, why it vanishes in cron, sudo and CI, and the one command that proves it's right.