Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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'm having some trouble running TeamCity on Windows 7 64bit, with tomcat 7 and Java 1.7. When putting some of the recomended settings in the service control panel:

-server -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256m -XX:MaxPermSize=512m

i always get the following messages:

[2012-11-30 12:39:48] [error] CreateJavaVM Failed
[2012-11-30 12:39:48] [error] Can not find the environment option that was specified.
[2012-11-30 12:39:48] [error] Failed to start Java
[2012-11-30 12:39:48] [error] ServiceStart returned 

(translated from italian) Anyone encountered some similar problem?

share|improve this question
Can you provide a screenshot of where exactly you're adding those parameters? Also, have you tried adding them one by one till it fails, to see if you can pinpoint the offending one? – Karan Nov 30 '12 at 18:57

Your Answer


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

Browse other questions tagged or ask your own question.