Not able to start gradle deamon

I’m using my local gradle configuration to my build. I’m getting the following error while Gradle sync. Some help regarding this would be greatly appreciated.

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 The Gradle Daemon
Please read the following process output to find out more:

Error: Could not find or load main class .Library.Java.JavaVirtualMachines.jdk1.8.0_181.jdk.Contents.Home