On windows Vista, the jvm arguments are being passed via the "-Dsun.plugin2.jvm.args" system property from the server side to the jp2launcher which launches the java.exe.
During JVMParameters.parseFromSystemProperty, the following arguments are being added as trusted arguments although they should really be considered as internal.
When searching for a jvm to launch the applet, the match always fails due to the presence of the above arguments and causing the client to send a message to the server to relaunch the applet.
A fix is to add another separator argument ("---") to separate the internal and trusted argument in additional to the existing separator argument ("--") which separates the trusted and other arguments. In parseFromSystemPropertyImpl, we don't add the internal ones to the args.