m-Power Documentation
![]() |
![]() |
How to use mrc packaged Tomcat 6 as a Service with JDK 1.6
- The first step is right click "My computer" and go to "Properties" Click Advanced and go to Environmental Variables.
- From here, add ;C:\Program Files\Java\jdk1.6.0_07\bin to the PATH.
- This step requires your machine to be restarted.
- Next, go to a PC command line.
- CD to c:\m-power\tomcat\bin
- Type service.bat install Tomcat6
- Next, type tomcat6w //ES//Tomcat6
- A window will pop up. Switch to the Java tab.
- Change the Java Virtual Machine option to: C:\Program Files\Java\jdk1.6.0_07\jre\bin\server\jvm.dll
- Add the following four lines to the end of the Java Options window:
- Hit OK.
- Start the service as you usually would.
-Xmx512m
-Xms512m
-XX:PermSize=256m
-XX:MaxPermSize=256m
































































































