In Netbeans there is an option to run the current file. It works fine until we need the option to set a JVM argument.
I hit the same problem and was searching the build xml for target that runs the file and customize it. But accidentally found a property runmain.jvmargs in project.properties file and set the JVM args that i wanted and it worked.
--> {project}/nbproject/project.properties (runmain.jvmargs)
This also works for web projects.
Saturday, September 27, 2008
Netbeans setting jvmargs for SHIFT-F6
Posted by Indian Lycan at 4:59 AM
Subscribe to:
Post Comments (Atom)
2 comments:
Hi,
My name is James Branam and I'm the NetBeans Community Docs Manager. Your blog entry would make a fantastic tips and tricks entry for our Community Docs wiki (http://wiki.netbeans.org//CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.
Hi again,
Your blog entry would make a fantastic tips and tricks entry for our Community Docs wiki (http://wiki.netbeans.org//CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.
Post a Comment