Use which to determine default java