I thought I had replied earlier.
I found your "is javaw.exe spyware or virus?" link eventually, Fred. It seemed to be where somebody was being very suspicious.
You can find more about javaw
here: look particularly at the end of the "DESCRIPTION" section.
Are you getting that message from an
IDE? I know some IDEs (eg Eclipse) seem to use javaw to start. The message you quote looks similar to the messages I get whenever a program finishes on NetBeans. There is a convention that exit value of 0 means normal completion, so it suggests you are getting no errors if there is a 0.