Many applications need Java so they install Oracle Java JRE during its installation process.

Replacing Oracle Java with an OpenJDK free build is easy, but what about preventing third-party apps to keep installing Oracle Java versions? Please think of several computers and hundred of apps, not a single computer.