From 1c921915738cdcc68e4a1a910b5f5cdf18c2101e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 28 Jun 2011 22:37:25 -0400 Subject: [PATCH] Windows service changes. Documentation. --- docs/01_setup.mkd | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/docs/01_setup.mkd b/docs/01_setup.mkd index eca0be2..a601e68 100644 --- a/docs/01_setup.mkd +++ b/docs/01_setup.mkd @@ -62,6 +62,16 @@ **NOTE:**<br/> If you change the name of the service from *gitblit* you must also change the name of `gitblitw.exe` to match the new service name otherwise the connection between the service and the utility is lost, at least to double-click execution. +#### VM Considerations +By default, the service installation script configures your Windows service to use your default JVM. This setup usually defaults to a client VM.<br/> +If you have installed a JDK, you might consider using the `gitblitw.exe` utility to manually specify the *server* VM. + +1. Execute `gitblitw.exe` +2. On the *Java* tab uncheck *Use default*. +3. Manually navigate your filesystem and specify the server VM with the `...` button<br/><pre> + Java Virtual Machine: + C:\Program Files\Java\jre6\bin\server\jvm.dll</pre> + #### Command-Line Parameters Command-Line parameters override the values in `gitblit.properties` at runtime. -- Gitblit v1.9.1