Fix targets names in java_tools java_toolchain.
Fix targets names in java_tools java_toolchain.

Closes #8189.

PiperOrigin-RevId: 245760454

bazelbuild/bazel,ulfjack/bazel,cushon/bazel,dslomov/bazel-windows,meteorcloudy/bazel,aehlig/bazel,davidzchen/bazel,perezd/bazel,werkt/bazel,ulfjack/bazel,aehlig/bazel,perezd/bazel,dslomov/bazel,ulfjack/bazel,aehlig/bazel,akira-baruah/bazel,davidzchen/bazel,perezd/bazel,ulfjack/bazel,bazelbuild/bazel,ulfjack/bazel,safarmer/bazel,davidzchen/bazel,katre/bazel,cushon/bazel,twitter-forks/bazel,akira-baruah/bazel,dslomov/bazel,perezd/bazel,twitter-forks/bazel,meteorcloudy/bazel,dslomov/bazel-windows,aehlig/bazel,dslomov/bazel,dslomov/bazel,katre/bazel,dslomov/bazel,akira-baruah/bazel,katre/bazel,ButterflyNetwork/bazel,aehlig/bazel,meteorcloudy/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,dslomov/bazel,ButterflyNetwork/bazel,safarmer/bazel,aehlig/bazel,katre/bazel,davidzchen/bazel,aehlig/bazel,twitter-forks/bazel,katre/bazel,werkt/bazel,meteorcloudy/bazel,perezd/bazel,akira-baruah/bazel,cushon/bazel,werkt/bazel,ulfjack/bazel,safarmer/bazel,cushon/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,akira-baruah/bazel,twitter-forks/bazel,meteorcloudy/bazel,twitter-forks/bazel,meteorcloudy/bazel,bazelbuild/bazel,twitter-forks/bazel,perezd/bazel,dslomov/bazel,ButterflyNetwork/bazel,katre/bazel,meteorcloudy/bazel,safarmer/bazel,davidzchen/bazel,safarmer/bazel,bazelbuild/bazel,bazelbuild/bazel,ButterflyNetwork/bazel,werkt/bazel,safarmer/bazel,dslomov/bazel-windows,dslomov/bazel-windows,cushon/bazel,werkt/bazel,werkt/bazel,perezd/bazel,davidzchen/bazel,bazelbuild/bazel,cushon/bazel,davidzchen/bazel,dslomov/bazel-windows,ulfjack/bazel,dslomov/bazel-windows