generate command java files