Initially I was having one folder with name "jre1.6.0_02" under C:\Program Files\Java. At that time I dint have JDK on my machine. Then I have downloaded JDK 1.4.2_16 and installed it on my machine under the folder C:\j2sdk1.4.2_16. After installation, I have got one more folder with name "j2re1.4.2_16" under C:\Program Files\Java.
I opened command prompt, under direct c:\ column... I tried with the command "java -version" and its printing jre1.6.0_02.
On command prompt I ponted the directory to "C:\j2sdk1.4.2_16\bin" (here only I have installed JDK 1.4). now "java -version" command is printing j2re1.4.2_16.
Why its happening so?
Right now my system environmental variable PATH is pointing to C:\j2sdk1.4.2_16\bin.
which version of
java I am using now... jre1.6.0_02 OR j2re1.4.2_16 ???
I would like to proceed with 1.4 ony, so where ever I go... c:\ or e:\ or C:\j2sdk1.4.2_16\bin .... if I type the command "java -version", it shuould say j2re1.4.2_16. what I need to do for this?
Thanks,
Javardhan :