There is a lot that human can do, for everything else there is [shell] script :)
$ which javaws $ [javaws path] [jnlp file path]