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/5.1.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
错误: 找不到或无法加载主类 D:\java\jdk8
只要构建gradle项目就会报这个错,我的gradle是5.1.1的,环境变量配置也没问题,但是一旦构建gradle项目就这样了,我其他程序都能运行的。只有gradle会这样。。。
你的jdk环境变量配置的有问题