Are javaws exit codes really broken?

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://example.com:666/missing.jnlp 

But even if this command fails, it will still return 0 , success.

How to solve this?

+6
java java-web-start jnlp exit-code
source share
1 answer

This is Error ID 6898437 in the Oracle / Sun trackers and has been fixed in recent releases.

+5
source share

All Articles