list available java versions and exit