Command Line Option to change which JDK to use
Hello All,
I am very new to Java. I downloaded Java SDK 1.4.2_13 onto my laptop. I added C:\j2sdk1.4.2_13\bin to my Classpath. I created a JAVA_HOME = C:\j2sdk1.4.2_13 in the environment variables. I receive an error while trying to run a basic program in a dos prompt. I received some help from an experienced java developer. He asked me to put in the command java -version in the dos prompt. It came back with java version 1.5.0_04. The experienced java developer said, "I needed to use the command line option in java to tell which JDK to use". He had no more time to give. He said I can look it up. Well, I don't know what he's talking about. Does anyone have some insight on what I need to do?
Thank You

