Java Environment Variables Error?
I was editing the PATH and CLASSPATH variables to use the JDK and be able to compile from command line, but I was unsuccessful. I decided to uninstall Java (both the JDK and JRE from before) and reinstall it, however I believe that I messed up the Path and Classpath variables, and am unsure how to restore them, even after searching it for well over an hour. When I run the path command in command prompt, it returns with "No Path".
Whenever I attempt to acquire the current version via java -version (I reinstalled the JRE, not the JDK), it says that java is not recognized as an internal or external command, operable program, or batch file. Also, (due to the lack of path, I presume) when I attempt to open programs, it comes with a variation of "Could not create the Java Virtual Machine" error.
OS: Windows XP
(I'm almost certain that the path is wrong somehow) Current Path: C:\Program Files\Java\jre6\bin\;%SystemRoot%\system32;%System Root%;%SystemRoot%\System32\Wbem;
(Is the classpath even needed with just the JRE?) Classpath: .;C:\Program Files\Java\jre6\bin\;
Java bin path: C:\Program Files\Java\jre6\bin
Any and all help would be greatly appreciated! Also, sorry for most likely sounding like an idiot in this, I attempted to research it, but was largely unsuccessful. :(think):