Properly pass arguments to JVM