Code: Select all
javaws -open foo.sgf http://files.gokgs.com/javaBin/cgoban.jnlp... no longer opens foo.sgf; it just opens cgoban.
Anybody else seeing this?
Code: Select all
javaws -open foo.sgf http://files.gokgs.com/javaBin/cgoban.jnlpCode: Select all
$ javaws -Xnosplash -open game.sgf http://files.gokgs.com/javaBin/cgoban.jnlp
$ Exception in thread "javawsApplicationMain" java.lang.NullPointerException
at java.lang.ProcessBuilder.start(ProcessBuilder.java:441)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:464)
at com.sun.javaws.Launcher.execProgram(Launcher.java:824)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:499)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:219)
at com.sun.javaws.Launcher.run(Launcher.java:166)
at java.lang.Thread.run(Thread.java:613)
Code: Select all
Arguments can be specified to the application by including one or more nested argument elements. For example:
<application-desc main-class="Main">
<argument>arg1</argument>
<argument>arg2</argument>
</application-desc>
Code: Select all
-open <arguments>
If specified, replaces the arguments in the jnlp file with -open <arguments>.