I was working to automate same java code execution using JNLP and I was surprised to discover that jawaws did not gave me a valid return code.
Original execution lin
This is Bug ID 6898437 in the Oracle/Sun bug tracker, and is fixed in more recent releases.