Trouble getting java to work with Windows XP!Help!

Hello everyone,

I just bought a laptop and it comes with Windows XP.Then i loaded Java(Jdk1.2.1) and tried to run the compiler javac, and an dialog box appears stating as follows.

Microsoft Visual C++ Runtime Library.

Runtime error!

Program :c:\JDK12~1.1\BIN\Javac.exe

abnormal Program termination

OK

please note that i have already set the path in the control panel,advanced tab,environment ,user variables.

I really do not know what to do.any help from anywhere is very much appreciated.

regards,

john

[578 byte] By [johnmp] at [2007-9-26 21:37:39]
# 1
Why don't use jdk1.3.1_02. I use it in XP with no problem.
angusedison at 2007-7-3 21:50:57 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 2
1.2.1 knows nothing about xp. You need to load an XP compliant JDK.
morgalr at 2007-7-3 21:50:57 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 3
Why would you want an old version? 1.3.1_02 & 1.4 work?
US101 at 2007-7-3 21:50:57 > top of Java-index,Archived Forums,New To Java Technology Archive...