First locate where your Java is installed by running the which command: tyler@computer $ which java /usr/bin/java As you can see from the output above my java executable exists in my /usr/bin/ directory.