David Van Couvering wrote:

> Well, that's enlightening, I wasn't aware that an exception thrown by
> main caused an exit status of 1.  That definitely sounds like the right
> approach.  If it's not a commonly accepted practice, it should be :)

Sounds good, the rule for the emebedded engine was always:

"remember pure Java, embedded, pure Java & embedded". :-)

Never make assumptions that your Java program is controlling the JVM and
has the right to call methods like System.exit, then multiple Java
"main" programs can hook up together without problems.

Dan.

Reply via email to