Run multiple replicate with argument configuration

Dear Everyone,

I am a newbie of IntelliJ IDEA. After finishing coding, I would like to run a class. The class need 4 arguments to run. It takes ~10mins to done so it take time for me monitor the laptop and change argument for each run (note that i want to ~100 replicates to collect data). Now I want to run multiple replicates, how can I do it with arguments input.

Thanks for your reading and helping.

2 comments
Comment actions Permalink

There is no such feature in IntelliJ IDEA. The best thing you can do instead is write a separate class (or a shell script) that will call your main class as many times as you need with the necessary arguments, and run that, instead of running your main class directly.

0
Comment actions Permalink

Thanks for your response. Actually, I wrote a batch file to do it.

0

Please sign in to leave a comment.