remove arch dependent JAVA_HOME def
check number of parameters, and show usage error
added usage to readme