That one would not force me to influence all Java apps.
Funny bit is that it is for some reason not sufficient for me.
With rhino.cmd containing:
java -Duser.language=en -Duser.region=en -jar ..\rhino
\rhino1_7R3\js.jar -f %1 %2 %3 %4 %5 %6 %7 %8
I still get:
------
c:\media\projects\icpc\2012\coercion>java -Duser.language=en -
Duser.region=en -jar coercion.jar -player pipe 2 rhino.cmd
javascript_example\migrate.js -player pipe 2 rhino.cmd
javascript_example\migrate.js -view trace trace.txt
n = 34
v[0] = (0, 0, 4)
v[1] = (0, 20, 4)
v[2] = (0, 40, 0)
v[3] = (0, 60, 0)
Exception in thread "Thread-1" v[4] = (0, 80,
-3)java.util.InputMismatchException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at java.util.Scanner.nextDouble(Unknown Source)
at icpc.challenge.link.TextCoder.decodeMove(TextCoder.java:139)
at icpc.challenge.link.PipedPlayer.decodeMove(PipedPlayer.java:75)
at icpc.challenge.link.PipedPlayer.run(PipedPlayer.java:136)
at java.lang.Thread.run(Unknown Source)
v[5] = (0, 100, 0)
v[6] = (20, 0, 4)
v[7] = (20, 20, 4)
&c.
Player 0 missed states: 1 2 3 4 5 &c.
-------
The oither output is from a couple of System.err.print* statements I
added to debug it.
I am not through yet, would love to know where it fails.
Regards,
Marc