changed init.pp in a way that enables to install multiple JREs and JDKs parallely on the same machine, is still backwards compatible to module usages to only install one JDK or JRE as the class internally delegates to the define type java::installation declared in manifests/installation.pp