when i type java -version in the command prompt i get the result as
java version "1.3.1_01"
But then i cant find any Java installed in control panel-add or remove programs
Also after installing the new JDK 6 version java -version is showing the same old version
And because of this i am not able to run java programs
i can compile them but when i run i get java.lang.UnsupportedClassVersionError since class file is of a higher version