Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to get a -D settings into the picture in a tomcat deployment on Windows with Windows Server packaging. So there are no bat files (let alone .sh files) to add it to.

Does it work to edit them into

Is there some other recommended way?

share|improve this question
up vote 2 down vote accepted

In your Windows system tray (bottom right corner next to the time) you should see an "Apache 6 Tomcat Service Configuration icon. Right click on this, click on the "Java" tab. Fill out your -D settings in the Java Options section. Doh. Just realized I have Tomcat 6.! I checked it out in Tomcat 5.0 and it has the same option so that should work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.