[COOK-3668] Only issue notifies to `update-java-alternatives` after all java packages have been installed

Signed-off-by: Seth Vargo <sethvargo@gmail.com>