I can only execute an application i made, with the following command in the command line:
java -jar -Djava.net.preferIPv4Stack=true P2P_network.jar
I would like to know, how can i put this in the jar file, so i can execute it automatically, without needing to go to the command line.
The IDE used is netbeans.