相关疑难解决方法(0)

-XX:OnOutOfMemoryError ="kill -9%p"问题

尝试将-XX:OnOutOfMemoryError="kill -9 %p"命令传递给我的jvm args时遇到问题.

我正在使用Jetty7,并在start.ini文件中使用它.在启动时,它给出了以下错误.这是jre /jre1.6.0_03l64

启动Jetty:STARTED Jetty Tue Apr 26 09:54:26 EDT 2011
无法识别的选项:-9
无法创建Java虚拟机.

start.ini文件如下所示.

#===========================================================
# If the arguements in this file include JVM arguments
# (eg -Xmx512m) or JVM System properties (eg com.sun.???),
# then these will not take affect unless the --exec
# parameter is included or if the output from --dry-run
# is executed like:
#   eval $(java -jar start.jar --dry-run)
#
# Below are some recommended options for Sun's JRE
#----------------------------------------------------------- …
Run Code Online (Sandbox Code Playgroud)

java jvm jetty

30
推荐指数
2
解决办法
3万
查看次数

标签 统计

java ×1

jetty ×1

jvm ×1