For any late comers like me, or you who have already posted comments, here:
When you type in the "-Dcofh.rf.crashOnOldAPI=false", remember to put a space at the beginning. Other wise the launcher with think it's part of the command line before it. So, remember the spacing.