Brian
Brian

Reputation: 79

Running the same run configuration in eclipse multiple times

I have a particular run configuration in Eclipse for a simulation that I would like to run 100 times or so. Is there a way that I can do this without physically sitting at my computer and hitting run over and over?

Upvotes: 0

Views: 365

Answers (1)

Mason T.
Mason T.

Reputation: 1577

You could create a bash script that runs the class 100 times.

for i in {1..100} 
   do 
     java "class path"
   done

Assumption that OS is linux

Upvotes: 1

Related Questions