BIGTOP-1071. bigtop-detect-javahome should select the first possible candidate in the list (contributed by Masatake Iwasaki)