By default module will install default Java JDK using puppetlabs/java module. This can be turned off by using $jboss::java_autoinstall variable or hiera key: jboss::params::java_autoinstall
But in params.pp, the key is not java_autoinstall but java_install
According to README.md
But in params.pp, the key is not java_autoinstall but java_install