I am building an application with NetBeans and I need to increase the heap-size. I am modifying running parameters from Netbeans but I have no idea to modify the heap-size in the .jar file. How can I achieve this?
I mean how to include it embedded to the jar file, not by using another runner script (.bat for windows or .sh for linux)
You can modify it when you launch you software from the jar. Use the -Xmx option on Linux, for instance.