\r
@REM Be careful not to introduce trailing whitespace after the ^ characters.\r
@REM Use ; or # to separate values in the --StartParams parameter.\r
-"%CD%\%ARCH%\prunsrv.exe" //IS//gitblit ^\r
+"%CD%\%ARCH%\gitblit.exe" //IS//gitblit ^\r
--DisplayName="gitblit" ^\r
--Description="a pure Java Git solution" ^\r
--Startup=auto ^\r
SET ARCH=amd64\r
\r
@REM Delete the gitblit service\r
-"%CD%\%ARCH%\prunsrv.exe" //DS//gitblit
\ No newline at end of file
+"%CD%\%ARCH%\gitblitv.exe" //DS//gitblit
\ No newline at end of file
**NOTE:**<br/>\r
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. \r
\r
+#### VM Considerations\r
+By default, the service installation script configures your Windows service to use your default JVM. This setup usually defaults to a client VM.<br/>\r
+If you have installed a JDK, you might consider using the `gitblitw.exe` utility to manually specify the *server* VM.\r
+\r
+1. Execute `gitblitw.exe`\r
+2. On the *Java* tab uncheck *Use default*.\r
+3. Manually navigate your filesystem and specify the server VM with the `...` button<br/><pre>\r
+ Java Virtual Machine:\r
+ C:\Program Files\Java\jre6\bin\server\jvm.dll</pre>\r
+\r
#### Command-Line Parameters\r
Command-Line parameters override the values in `gitblit.properties` at runtime.\r
\r