@@ -325,6 +325,54 @@ _REMOTE_JDK_CONFIGS_LIST = [
325325 urls = ["https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6+7/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.6_7.tar.gz" , "https://mirror.bazel.build/github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6+7/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.6_7.tar.gz" ],
326326 version = "21" ,
327327 ),
328+ struct (
329+ name = "remotejdk25_linux_aarch64" ,
330+ target_compatible_with = ["@platforms//os:linux" , "@platforms//cpu:aarch64" ],
331+ sha256 = "b60eb9d54c97ba4159547834a98cc5d016281dd2b3e60e7475cba4911324bcb4" ,
332+ strip_prefix = "zulu25.28.85-ca-jdk25.0.0-linux_aarch64" ,
333+ urls = ["https://cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-linux_aarch64.tar.gz" , "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-linux_aarch64.tar.gz" ],
334+ version = "25" ,
335+ ),
336+ struct (
337+ name = "remotejdk25_linux" ,
338+ target_compatible_with = ["@platforms//os:linux" , "@platforms//cpu:x86_64" ],
339+ sha256 = "164d901e5a240b8c18516f5ab55bc11fc9689ab6e829045aea8467356dcdb340" ,
340+ strip_prefix = "zulu25.28.85-ca-jdk25.0.0-linux_x64" ,
341+ urls = ["https://cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-linux_x64.tar.gz" , "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-linux_x64.tar.gz" ],
342+ version = "25" ,
343+ ),
344+ struct (
345+ name = "remotejdk25_macos_aarch64" ,
346+ target_compatible_with = ["@platforms//os:macos" , "@platforms//cpu:aarch64" ],
347+ sha256 = "73f64f6bad7c3df31fba740fbcbbbef7c1a5cedeffbb5df386dd79bc72aba9b6" ,
348+ strip_prefix = "zulu25.28.85-ca-jdk25.0.0-macosx_aarch64" ,
349+ urls = ["https://cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-macosx_aarch64.tar.gz" , "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-macosx_aarch64.tar.gz" ],
350+ version = "25" ,
351+ ),
352+ struct (
353+ name = "remotejdk25_macos" ,
354+ target_compatible_with = ["@platforms//os:macos" , "@platforms//cpu:x86_64" ],
355+ sha256 = "c2cde1d313d904b793c3760214eefa207ecca7df04e7c4084abdf1f6bbebc27a" ,
356+ strip_prefix = "zulu25.28.85-ca-jdk25.0.0-macosx_x64" ,
357+ urls = ["https://cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-macosx_x64.tar.gz" , "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-macosx_x64.tar.gz" ],
358+ version = "25" ,
359+ ),
360+ struct (
361+ name = "remotejdk25_win_arm64" ,
362+ target_compatible_with = ["@platforms//os:windows" , "@platforms//cpu:arm64" ],
363+ sha256 = "f5f6d8a913695649e8e2607fe0dc79c81953b2583013ac1fb977c63cb4935bfb" ,
364+ strip_prefix = "zulu25.28.85-ca-jdk25.0.0-win_aarch64" ,
365+ urls = ["https://cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-win_aarch64.zip" , "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-win_aarch64.zip" ],
366+ version = "25" ,
367+ ),
368+ struct (
369+ name = "remotejdk25_win" ,
370+ target_compatible_with = ["@platforms//os:windows" , "@platforms//cpu:x86_64" ],
371+ sha256 = "5efcf4e6a613cae06c8041de8a3695b7346aad0307d397b66bf55281cf1a5cb6" ,
372+ strip_prefix = "zulu25.28.85-ca-jdk25.0.0-win_x64" ,
373+ urls = ["https://cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-win_x64.zip" , "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu25.28.85-ca-jdk25.0.0-win_x64.zip" ],
374+ version = "25" ,
375+ ),
328376]
329377
330378def _make_version_to_remote_jdks ():
@@ -369,6 +417,10 @@ def remote_jdk21_repos():
369417 """Imports OpenJDK 21 repositories."""
370418 _remote_jdk_repos_for_version ("21" )
371419
420+ def remote_jdk25_repos ():
421+ """Imports OpenJDK 25 repositories."""
422+ _remote_jdk_repos_for_version ("25" )
423+
372424def rules_java_dependencies ():
373425 """DEPRECATED: No-op, kept for backwards compatibility"""
374426 print ("DEPRECATED: use rules_java_dependencies() from rules_java_deps.bzl" ) # buildifier: disable=print
@@ -384,6 +436,7 @@ def rules_java_toolchains(name = "toolchains"):
384436 remote_jdk11_repos ()
385437 remote_jdk17_repos ()
386438 remote_jdk21_repos ()
439+ remote_jdk25_repos ()
387440 java_tools_repos ()
388441
389442 native .register_toolchains (
0 commit comments