alert message from windoows os

Java installed on Windows 2000 system

When java <filename> is type, an alert message opens up from windows and the command propmpt gets closed.

can anyone tell what would be the reason for this and how to rectify it ....

Aleready 3 to 4 times java has been removed and reinstalled...

[321 byte] By [PrabhuSai] at [2007-9-30 13:21:01]
# 1
Try typingjavaw <filename>instead of java <filename>
RachelSwailes at 2007-7-4 20:52:02 > top of Java-index,Administration Tools,Sun Connection...
# 2

> javaw <filename>

What?! He's having the same problem you were - the Java process crashing and putting up a crash dialog.

First of all, make sure you have the *LATEST* graphics drivers for your graphics card. Make sure you visit your card manufacturer's site, and download the latest drivers for the card and install them.

If that still doesn't fix your crashes, look for previous postings here about Java2D configuration flags (-Dsun.java2d.* ) to see if that can fix your crashes. If it can, you should report this as a bug to Sun (they shouldn't be choosing such an aggressive default).

shankar.unni at 2007-7-4 20:52:02 > top of Java-index,Administration Tools,Sun Connection...