I am assuming this is a Windows machine.
Most likely you have a system environment variable called JAVA_HOME with a value something like
C:\Program Files\Java\jre1.8.0_131
Please edit this variable and put double quotes around it like this:
"C:\Program Files\Java\jre1.8.0_131"
The space, between 'Program' and 'Files', is causing Windows to interrupt as one variable with two values. The double quotes will force Windows to interrupt it correctly.
Thanks,
Ricky
DevTest Support