change cli-param handling for JRE6 compatibility