I uninstalled and reinstalled Java1.4.2 and everthying worked fine but when I do java _version from command prompt it is giving me java 1.3.x but in control panel add/remove program it is showing Java 1.4.2 . Please suggest what is happening. I tried unistalling all java application and restarting server and installing Java again but no luck.
Do you happen to have Oracle installed? It puts the 1.3 JRE in the path. In any case, from the JDK release notes here are the instructions for installing the JDK, including how to update your PATH environment variable.