I worked on automating Java code execution using JNLP, and I was surprised to find that jawaws did not give me a valid return code.
Initial execution line:
javaws -wait http://example.com:666/missing.jnlp
This showed an ugly window with the message "Unable to start the application." .
As you can see, I tried to do this without requiring a graphical user interface, and tried:
javaws -wait -Xnosplash -import -silent http:
But even if this command fails, it will still return 0 , success.
How to solve this?
java java-web-start jnlp exit-code
sorin
source share