make the script a little flexible about where java home is.