Every time I start up my minecraft this is what pops up, "The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted. The system cannot find the file specified."
-If anyone knows what the problem is please let me know. I have already deleted the .minecraft but it still won't open and I have reinstalled java so I am totally lost.