add a java role