Typing java -version in the command box tells me I'm running 1.6.0_31, and javac -version tells me I'm running 1.7.0_05. I have been informed this is the reason that programs I compile using javac spit out a large error message when I run them with the java command.
I just installed JDK 7 today, and apparently at the same time got JRE 7, but there was still a JRE 6 installed. I uninstalled it, hoping that would solve the problem, but the problem persists. Unfortunately, most solutions for this problem which I've found have been written for older operating systems, and I do not understand much about how to fiddle with windows settings. I'm runing Windows 7 Home Premium Version 6.1 (build 7600).
Do you need to know anything else to help me? Thanks.
Joined: Jul 29, 2012
Addendum: I have another installation of JRE 6 in 64 bit still installed. Should I remove that as well?
You may have a JVM installed in one of the system directories. Try moving the Java 7 path to the first position, so that it will be picked up first. You will be also need to restart the cmdtool after you change the system path.