Originally posted by sai nukala:
This is most common problem if you have installed Oracle or similar tools which add their JRE references to your path. As Java will use the first JRE it encounters, it might be picking 1.3 or other set by Oracle client.
Modify your path environment variable and add entry as:
where C:\j2sdk1.4.2_03 is my JAVA_HOME
This should fix the problem.