# Unable to start the daemon process after upgrade from 7.4.2 to 8.7.3

**URL:** <https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202>\
**Category:** Help/Discuss\
**Created:** [January 6, 2025, 12:27pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202 "2025-01-06T12:27:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![IsaacStarnes](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@IsaacStarnes](https://discuss.gradle.org/u/IsaacStarnes)\
**Post date:** [January 6, 2025, 12:27pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/1 "2025-01-06T12:27:39Z")

</div>

My developers updated their Android projects from gradle:7.4.2 to gradle:8.7.3 and now all my builds fail.  
The error is:

```plaintext
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.For more details on the daemon, please refer to https://docs.gradle.org/8.12/userguide/gradle_daemon.html in the Gradle documentation.
Process command line: C:\Program Files\Java\jdk-23\bin\java.exe --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\svc_teamcitybuild\.gradle\wrapper\dists\gradle-8.12-all\ejduaidbjup3bmmkhw3rie4zb\gradle-8.12\lib\gradle-daemon-main-8.12.jar -javaagent:C:\Users\svc_teamcitybuild\.gradle\wrapper\dists\gradle-8.12-all\ejduaidbjup3bmmkhw3rie4zb\gradle-8.12\lib\agents\gradle-instrumentation-agent-8.12.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.12
Please read the following process output to find out more:
-----------------------

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize native services.

* Try:
> 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.

* Exception is:
org.gradle.internal.service.ServiceCreationException: Could not initialize native services.
	at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:225)
	at org.gradle.internal.nativeintegration.services.NativeServices.initializeOnDaemon(NativeServices.java:183)
	at org.gradle.launcher.daemon.bootstrap.DaemonMain.doAction(DaemonMain.java:113)
	at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:52)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:72)
	at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:39)
	at org.gradle.launcher.daemon.bootstrap.GradleDaemon.main(GradleDaemon.java:22)
Caused by: net.rubygrapefruit.platform.NativeException: Failed to initialise native integration.
	at org.gradle.fileevents.FileEvents.init(FileEvents.java:48)
	at org.gradle.internal.nativeintegration.services.NativeServices$NativeFeatures$1.initialize(NativeServices.java:111)
	at org.gradle.internal.nativeintegration.services.NativeServices.initializeFeatures(NativeServices.java:267)
	at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:223)
	... 8 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\svc_teamcitybuild\.gradle\native\0.2.5\x86_64-windows-gnu\gradle-fileevents.dll: The specified procedure could not be found
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2402)
	at java.base/java.lang.Runtime.load0(Runtime.java:852)
	at java.base/java.lang.System.load(System.java:2028)
	at org.gradle.fileevents.FileEvents.init(FileEvents.java:35)
	... 11 more

```

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [January 6, 2025, 5:37pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/2 "2025-01-06T17:37:21Z")

</div>

Sounds to me like you should report an issue about this.

---

<div class="post-metadata">

**Author:** ![IsaacStarnes](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@IsaacStarnes](https://discuss.gradle.org/u/IsaacStarnes)\
**Post date:** [January 6, 2025, 6:00pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/3 "2025-01-06T18:00:00Z")

</div>

Isn’t that what I’ve done here?

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [January 6, 2025, 6:01pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/4 "2025-01-06T18:01:17Z")

</div>

No, this is a community forum where users talk to each other and users like me help other users with their Gradle problems.

The issue tracker is at [GitHub · Where software is built](https://github.com/gradle/gradle/issues/)

---

<div class="post-metadata">

**Author:** ![IsaacStarnes](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@IsaacStarnes](https://discuss.gradle.org/u/IsaacStarnes)\
**Post date:** [January 6, 2025, 6:13pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/5 "2025-01-06T18:13:07Z")

</div>

I followed the link from the actual error message to:

> **[Gradle | Search for Help with Gradle Build Tool](https://gradle.org/help/)**

And on that page there was only:  
“Ask for help”, which brought me here.

I’ll check that GitHub page.

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [January 6, 2025, 6:37pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/6 "2025-01-06T18:37:04Z")

</div>

The link for “Troubleshoot” on the page you mentioned also has a link to the issue tracker.  
Also, it is fine that you came here, you got help by being redirected to the right spot, didn’t you? 🙂

---

<div class="post-metadata">

**Author:** ![IsaacStarnes](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@IsaacStarnes](https://discuss.gradle.org/u/IsaacStarnes)\
**Post date:** [January 6, 2025, 7:02pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/7 "2025-01-06T19:02:36Z")

</div>

I posted on the issue tracker.  
We will see if I get help.  
Thanks.

---

<div class="post-metadata">

**Author:** ![IsaacStarnes](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@IsaacStarnes](https://discuss.gradle.org/u/IsaacStarnes)\
**Post date:** [January 7, 2025, 3:52pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/8 "2025-01-07T15:52:29Z")

</div>

Seems the latest version of Gradle doesn’t work with Windows Server 2016.  
Only with 2019 and later.

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [January 7, 2025, 4:00pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/9 "2025-01-07T16:00:23Z")

</div>

It would probably make sense to also post the issue link here, so that future readers can follow it. 🙂

---

<div class="post-metadata">

**Author:** ![IsaacStarnes](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@IsaacStarnes](https://discuss.gradle.org/u/IsaacStarnes)\
**Post date:** [January 7, 2025, 4:52pm UTC](https://discuss.gradle.org/t/unable-to-start-the-daemon-process-after-upgrade-from-7-4-2-to-8-7-3/50202/10 "2025-01-07T16:52:26Z")

</div>

> <https://github.com/gradle/gradle/issues/31939>
>
> \### Current Behavior
> 
> My developers updated their Android projects from gradle:7….4.2 to gradle:8.12 and now all my builds fail.
> 
> The error is:
> 
> \`\`\`
> Starting a Gradle Daemon (subsequent builds will be faster)
> 
> FAILURE: Build failed with an exception.
> 
> \* What went wrong:
> Unable to start the daemon process.
> This problem might be caused by incorrect configuration of the daemon.
> For example, an unrecognized jvm option is used.For more details on the daemon, please refer to https://docs.gradle.org/8.12/userguide/gradle\_daemon.html in the Gradle documentation.
> Process command line: C:\\Program Files\\Java\\jdk-23\\bin\\java.exe --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\\Users\\svc\_teamcitybuild\\.gradle\\wrapper\\dists\\gradle-8.12-all\\ejduaidbjup3bmmkhw3rie4zb\\gradle-8.12\\lib\\gradle-daemon-main-8.12.jar -javaagent:C:\\Users\\svc\_teamcitybuild\\.gradle\\wrapper\\dists\\gradle-8.12-all\\ejduaidbjup3bmmkhw3rie4zb\\gradle-8.12\\lib\\agents\\gradle-instrumentation-agent-8.12.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.12
> Please read the following process output to find out more:
> \-----------------------
> 
> FAILURE: Build failed with an exception.
> 
> \* What went wrong:
> Could not initialize native services.
> 
> \* Try:
> \> 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.
> 
> \* Exception is:
> org.gradle.internal.service.ServiceCreationException: Could not initialize native services.
> at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:225)
> at org.gradle.internal.nativeintegration.services.NativeServices.initializeOnDaemon(NativeServices.java:183)
> at org.gradle.launcher.daemon.bootstrap.DaemonMain.doAction(DaemonMain.java:113)
> at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:52)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:72)
> at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:39)
> at org.gradle.launcher.daemon.bootstrap.GradleDaemon.main(GradleDaemon.java:22)
> Caused by: net.rubygrapefruit.platform.NativeException: Failed to initialise native integration.
> at org.gradle.fileevents.FileEvents.init(FileEvents.java:48)
> at org.gradle.internal.nativeintegration.services.NativeServices$NativeFeatures$1.initialize(NativeServices.java:111)
> at org.gradle.internal.nativeintegration.services.NativeServices.initializeFeatures(NativeServices.java:267)
> at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:223)
> ... 8 more
> Caused by: java.lang.UnsatisfiedLinkError: C:\\Users\\svc\_teamcitybuild\\.gradle\\native\\0.2.5\\x86\_64-windows-gnu\\gradle-fileevents.dll: The specified procedure could not be found
> at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
> at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
> at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
> at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
> at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2402)
> at java.base/java.lang.Runtime.load0(Runtime.java:852)
> at java.base/java.lang.System.load(System.java:2028)
> at org.gradle.fileevents.FileEvents.init(FileEvents.java:35)
> ... 11 more
> \`\`\`
> 
> \### Expected Behavior
> 
> Expected the build to still work.
> 
> \### Context (optional)
> 
> \_No response\_
> 
> \### Self-contained Reproducer Project
> 
> Build the LEADTOOLS Android Example projects using:
> 
> "Examples\\xxx\\Android\\xxxDemo\\gradlew.bat" build
> 
> \### Gradle version
> 
> 8.12
> 
> \### Gradle version that used to work
> 
> 7.4.2
> 
> \### Build scan URL (optional)
> 
> \_No response\_
> 
> \### Your Environment (optional)
> 
> This is taking place on a Windows Server 2016 machine.
