paramaterize Java commands