Move jdk installation to right role.