Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top