Thanks Michael.
I need one more help.
I am getting the following error when run the program.
I have set the classpath and path in the environmental variables as.
CLASSPATH
.;C:\j2sdk1.4.2_08
PATH
C:\j2sdk1.4.2_08\bin.
Since i was getting this error is thought my sdk has some problem so i uninstalled and reinstalled it once again.But that didnt solve my problem.
Please let me know whether my classpath and path setting is correct.
I am also able to see a folder called
JAVA under c:\ProgramFile which has one more j2sdk1.4.2_08.I dont know when this got installed.Do i need to uninstall this.
Thanks
Ramya.A