문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top