Original Post
Simple question? Maybe... I've just found that using the "-server" command line parameter when invoking Java almost doubles my application's performance in some situations. The snag is that the JRE for Windows doesn't actually include the Server JVM, only the client. The Server JVM comes with the JDK, and is simply an alternative jvm.dll in the folder JDKxxx/jre/bin/server. Unfortunately, I can't realisticly expect the end-users of my app to download and install the JDK then copy the relevant file into their JRE. I want my app to perform as well as possible, but I'm pretty sure I can't distribute the alternative jvm.dll with my app without pissing Sun off. Distributing the entire JDK is out of the question. Can anyone offer me any advice here? Does anyone know why the Server JVM isn't distributed with the JRE, when in certain situations it gives a clear performance advantage? Is the Server JVM likely to be distributed with the JRE in future (as far as I'm aware this is already the case with the Solaris version)? Is there anything I can do (tweaking command line paramteres, etc.) to get myself a similar performance increase? Cheers to anyone who can help.