how to find where jdk is installed ubuntu code example Example: where is java installed in ubuntu readlink -f $(which java)