Few words about this annoying error:
The quick solution is to add the full path to your own jre’s bin folder (Ex.: C:\Program Files (x86)\Java\jre1.x.y_z\bin) to the PATH (Windows System Variable).
Testing that is all ok can be made also by running “java -version”.
If other java bin is missing it can be restored from the no-extension zip file from C:\ProgramData\Oracle\Java\installcache .
Windows Application Registration: