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