Hi! I got following error on kali linux when trying to build a java application.
Error:
Error: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.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4.1/userguide/gradle_daemon.html
Solution:
The problem occurred with openjdk-8 version. Changed the java to openjdk-11 and the problem was resolved.
Cheers !