4 Replies Latest reply on Nov 3, 2011 10:07 PM by jschellSomeoneStoleMyAlias

    Unrecognized VM option 'OutofMemoryError'


      I'm getting this error when I try to run the command from command window.
      E:\Program Files\Java\jre1.5.0_22\bin>java.exe -XX:OnOutOfMemoryError="echo hello"

      Unrecognized VM option 'OnOutOfMemoryError=echo hello'
      Could not create the Java virtual machine.

      I'm using JRE 1.5 version.

      Please help me?


      Edited by: user10876532 on Nov 2, 2011 2:11 PM