So I have a jar file that I need to run five times with a ./run.sh script.
So I put the jar fle back to back in the script 5 times.
#!/bin/bash
java -jar lol.jar
java -jar lol.jar
java -jar lol.jar
java -jar lol.jar
java -jar lol.jar
And it didn't work. The java files launch one after the other when I terminate the previous.
So how do I run 5 instances of the same jar at the same time?
I was thinking I could have 5 different .sh scripts and run them all with a 6th one. How do I do that? example please. Thank you!