how to use installed java on windows ubuntu linux code example Example: where is java installed in ubuntu readlink -f $(which java)