Thanks for the reply.
When u compile ur program from DOS PROMPT in Win 95/98/NT then there is no problem.
The reason the MSDOS PROPMPT is an application that simulates DOS and as Win 95/98/NT support long file names so does the DOS PRMPT so don't confuse the DOS PROMPT Application with DOS which is an OS.
Let me put it more clearly I have a system with only DOS installed on it there is no Win95/98/NT. How do I execute Java Programs there.
Forget about the DOS Editor that renaming can be done but what if ur OS doesn't allow more than 3 chars as Extension.
I hope I have made it clear.