run the update-java-alternatives block immediately so the installed java can be used by other recipes
run the update-java-alternatives block immediately so the installed java can be used by other recipes

Without :immediately, the chef run crashes later when a subsequent recipe expects a default java to be configured. So the update-java-alternatives block was never being run.

dcode/java,gsaslis/java,juliandunn/java,cposture/java,broadinstitute/java,dcode/java,cellux/java,nshemonsky/chef-java,LateRoomsGroup/java,juliandunn/java,nshemonsky/chef-java,dcode/java,bgandon/java,LateRoomsGroup/java,GannettDigital/chef-java,gsaslis/java,zenoss/java,RobertNorthard/java,udayas81/JAVA,GannettDigital/chef-java,foreflight/java,foreflight/java,mrb/java,bgandon/java,GannettDigital/chef-java,cookbooks/hw-java,udayas81/JAVA,bitmonk/chef-java,gosquared/java,nshemonsky/chef-java,mrb/java,cposture/java,cellux/java,bitmonk/chef-java,juliandunn/java,mrb/java,foreflight/java,cellux/java,RobertNorthard/java,LateRoomsGroup/java,gosquared/java,bitmonk/chef-java,bgandon/java,gsaslis/java,cposture/java,broadinstitute/java,cookbooks/oc-java,RobertNorthard/java