Skip to content

bash

1 Post

java: command not found After Installing the JDK, Fixed

java: command not found means your shell searched every PATH directory and none had java in it. Why setting JAVA_HOME doesn't help, how to see what the shell sees, and the fix for Linux, macOS, sudo, cron and Docker.