What specifically causes this error:

"The registry refers to nonexistent Java Runtime Environment installation or the runtime is corrupted."
"The system cannot find the file specified."

Java is installed and working - Jar files open fine.  Wrapped Jar Fails with this error.
What registry value is it looking for when this error occurs?