`JavaSoftwareProcessSshDriver.installJava` actually calls this code now, see `checkForAndInstallJava7()` for example.