Need to uninstall the previous version of java?
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
Re: Need to uninstall the previous version of java?
Welcome to the Java Programming Forums.
What version of Windows are you on? You will need to update your Enviroment Variables.
See if this helps - Java Programming Forums - Java Programming Tutorial - 1 - Installing the JDK