Tomcat 7 64位选项出现问题


1

我在使用tomcat 7和Java 1.7在Windows 7 64bit上运行TeamCity时遇到了一些麻烦。 在服务控制面板中放置一些推荐的设置时:

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

我总是收到以下消息:

[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 

(翻译自意大利语) 有人遇到过类似的问题吗?


你能提供一个截图,列出你正在添加这些参数的确切位置吗?另外,您是否尝试逐个添加它们直到它失败,看看您是否可以查明有问题的一个?
Karan
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.