My computer was running minecraft flawlessly before I updated my java O.O
No actually you didn't upgrade anything. What you did was uninstall Java and install something completely different. Maybe you saw the "XP" part and assumed it was for Windows XP. What you downloaded is a package intended for Java developers who want an XPath library. The link below is Oracle's portal for consumer downloads of Java.