java - Are javaws exit codes really broken? -


I was working to automate the same Java code execution using JNLP and I was surprised that Javo I did not give a valid return code.

The original execution line was:

  javaws -wait http://example.com:666/missing.jnlp  

"Unable to launch application." Message.

As you can image I tried to make it and did not need a GUI and tried:

  javaws-wait -Xnosplash -import -silent http : //example.com: 666 / missing.jnlp  

But even if this command fails, it still returns 0 , success

How to solve this?

It is in Oracle / Sun Bug tracker, and is fixed in recent release.


Comments