1.选中类,点击顶部菜单:Run-->Edit Configuration,如下所示:
2.选择Application,指定的类,在右边选择Configuration,并在VM options中输入相应参数,如下所示: