OMG I LOVE U THANK YOU SOO MUCH I LOVE YOU I LOVE U I LOVE U :heartloveHello JoeLAD, welcome to TSF!
I'd suggest completely uninstalling and reinstalling the Java JRE in it's default location. Example: C:\Program Files\Java.
Afterwords, from what your trying to fix, you'll need to manually setup your system environment variables so that it will locate what it requires from the JRE. Please refer to this link for instructions to setup the environment variable to locate where your JRE is installed on your system.
If this wasn't helpful, please say so.