Could maybe change this to `BashCommands.installJavaLatestOrfail()` now?