Uncomment line
diff --git a/java/repositories.bzl b/java/repositories.bzl
index 5227508..e51eae3 100644
--- a/java/repositories.bzl
+++ b/java/repositories.bzl
@@ -519,9 +519,9 @@
     remote_jdk16_repos()
     remote_jdk17_repos()
 
-    # TODO: load this will break compatibility with Bazel 4.2.1,
-    # Enable this when Bazel 5.0.0 is released.
-    # java_tools_repos()
+    # load this break compatibility with Bazel 4.2.1,
+    # Enabled this when Bazel 5.0.0 is released.
+    java_tools_repos()
 
 def rules_java_toolchains(name = "toolchains"):
     """An utility method to load all Java toolchains.