title: Java server jvm installation on windows 32 bit systems
body: <p>I am trying to bundle java as a part of a java product that should be installed silently with a single click and are having some issues:</p>
  
  <p>My installation has the following requirements:
  Has no be silent and require no user input or action excpect a doubleclick on the installation file (no configuration and post install steps)
  Has to setup java so that JAVA_HOME points to a Java SE installation with a server jvm</p>
  
  <p>Is this at all possible to do this on a win32 system with sun java installers? I know that by default the jre does not contian a server jvm. But even when installing the jdk the public jre which is installed (and mapped to JAVA_HOME) does not contain a server jvm. In sun own README file (<a href="http://java.sun.com/javase/6/webnotes/install/jre/README" rel="nofollow noreferrer">Sun README</a>) they suggest copying the files:</p>
  
  <blockquote>
    <p>jre\bin\server\
            On Microsoft Windows platforms, the JDK includes both
            the Java HotSpot(TM) Server VM and Java HotSpot Client VM.
            However, the Java SE Runtime Environment for Microsoft Windows
            platforms includes only the Java HotSpot Client VM. Those wishing
            to use the Java HotSpot Server VM with the Java SE Runtime
            Environment may copy the JDK's jre\bin\server folder to a 
            bin\server directory in the Java SE Runtime Environment.</p>
  </blockquote>
  
  <p>But this solution is difficult to automate gracefully in a silent install. There has to be a better way to do this without repackaging the entire java distrubution. Has anyone encountered the same problem and come up with a more elegant solution?</p>