I am trying to bundle java as part of a java product that needs to be installed silently with one click and has some problems:
My installation has the following requirements: Do not be silent and do not require user input or double-click on the installation file (without settings and steps after installation) You need to configure java so that JAVA_HOME indicates the installation of Java SE with the jvm server
Is it possible to do this on a win32 system with sun java installers? I know that by default jre does not match the jvm server. But even when installing jdk, a public jre that is installed (and mapped to JAVA_HOME) does not contain a jvm server. In the sun there is a README file ( Sun README ), they offer to copy files:
JRE \ Bin \ server \ On Microsoft Windows platforms, the JDK includes both the Java HotSpot (TM) virtual machine and the Java HotSpot virtual machine. However, the Java SE runtime for Microsoft Windows platforms only include the Java HotSpot client virtual machine. Those wishing to use the Java HotSpot virtual machine with the Java Runtime Environment can copy the jdk folder jre \ bin \ server to the bin \ server folder in the Java SE Runtime Environment.
But this solution is difficult to automate elegantly in a silent installation. There should be a better way to do this without repackaging the entire java mailing list. Has anyone encountered the same problem and come up with a more elegant solution?
source
share