Build failed on windows

14 views
Skip to first unread message

PRIYA BHUNIA

unread,
Dec 15, 2025, 7:32:19 PM (19 hours ago) Dec 15
to ZAP Developer Group
MY build is also constantly failing on windows (I am using this guide https://www.zaproxy.org/docs/developer/quick-start-build/ )

PS D:\zapGithub\zaproxy> ./gradlew.bat tasks
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/C:/Users/priya/.gradle/wrapper/dists/gradle-8.13-all/54h0s9kvb6g2sinako7ub77ku/gradle-8.13/lib/native-platform-0.22-milestone-28.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

FAILURE: Build failed with an exception.

  • What went wrong:
    25.0.1

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 974ms

thc202

unread,
2:46 AM (12 hours ago) 2:46 AM
to zaproxy...@googlegroups.com
Hi,

As mentioned in the linked page use a supported JDK (version 17).
https://www.zaproxy.org/docs/developer/quick-start-build/#preparation

Best regards.

On 15/12/2025 23:36, PRIYA BHUNIA wrote:
> MY build is also constantly failing on windows (I am using this guide
> https://www.zaproxy.org/docs/developer/quick-start-build/ )
>
> PS D:\zapGithub\zaproxy> ./gradlew.bat tasks
> WARNING: A restricted method in java.lang.System has been called
> WARNING: java.lang.System::load has been called by
> net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed
> module
> (file:/C:/Users/priya/.gradle/wrapper/dists/gradle-8.13-all/54h0s9kvb6g2sinako7ub77ku/gradle-8.13/lib/native-platform-0.22-milestone-28.jar)
> WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for
> callers in this module
> WARNING: Restricted methods will be blocked in a future release unless
> native access is enabled
>
> FAILURE: Build failed with an exception.
>
> -
>
> What went wrong:
> 25.0.1
> -
Reply all
Reply to author
Forward
0 new messages