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?
the option doesn't work even on JDK 1.7 update 25:
>>java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b16)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>>java -XX:+HeapDumpOnCtrlBreak
Unrecognized VM option 'HeapDumpOnCtrlBreak'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With