java_list function

List the contents of the Java versions installed or cached