jboss: Refine validate_all_jboss.(It checks JAVA_HOME, JBOSS_HOME, and JAVA)