Run integration tests with `rules_java` distribution instead of repo source

Also build `@rules_java//java/...` as part of integration tests. Would have caught the v7.7.1 breakage (fixed by https://github.com/rules_java/bazel/commit/f7337ec36eb1fa78a3b4f641ccae7e5a2fe4a2b8) on presubmit.

PiperOrigin-RevId: 652899892
Change-Id: I1a225922c15803263d25d0b905debb75d3f814a2
3 files changed