added java options for attributes