How can I set VM options in a Java Netbeans Platform Modular Project?

后端 未结 7 1946
暖寄归人
暖寄归人 2020-12-15 07:10

I have a Netbeans Platform modular project, not a regular Java project. I want to set VM options to increase memory, but under the \"properties\" dialog, there is no way to

7条回答
  •  一个人的身影
    2020-12-15 07:33

    For maven projects:

    As described in this question, you can use etcConfFile parameter of nbm-maven-plugin:

    
        org.codehaus.mojo
        nbm-maven-plugin
        
            src/main/resources/app.conf
        
    
    

    More info: Geertjan's Blog

提交回复
热议问题