Search code examples
javajbossjvmjvm-arguments

Unrecognized VM option '+HeapDumpOnCtrlBreak'


I'm using Jboss and I added -XX:+HeapDumpOnCtrlBreak option to JAVA_OPTS. But I got the error when starting Jboss:

Unrecognized VM option '+HeapDumpOnCtrlBreak'
Could not create the Java virtual machine.

I've searched on the net and it seems JDK 6 doesn't support this option so I changed to jdk1.5.0_09 but still got this error.

Does anyone know what's wrong?


Solution

  • Alright, seems that I need Java SE release 5.0 update 14 or above.