adding java role