add role to install Java packages