java: Fix main method argument count

Fix the number of arguments passed to the main method from JVM launcher.

Signed-off-by: Pekka Enberg <penberg@iki.fi>