#Maven exec problem

17 messages · Page 1 of 1 (latest)

zenith jungle
#

Hello i need to make a program that launch 2X1000 game of a game im creating but i cant find any documentation about "-Dexec.args" and how to use it. ( I need to use PRECISLY this command)

lofty nymphBOT
#

This post has been reserved for your question.

Hey @zenith jungle! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

sweet prawn
#

that's what -Dexec.args="--2thousands" will do

#

so it sounds like it's on you to make 2000 copies of your app

#

./run java

Runnable runnable = () -> System.out.println("done");
for (int i = 0; i < 10; i++) {
    new Thread(runnable).start();
}
try {
Thread.sleep(500L);
} catch (Exception e) {}
fading kilnBOT
#

Here is your java(15.0.2) output @sweet prawn

done
done
done
done
done
done
done
done
done
done
zenith jungle
#

im getting that when i try the command

sweet prawn
#

show cmd

zenith jungle
#

im doing another side of the project i tell u when i come back to my problem

zenith jungle
#

this is my cmd

sweet prawn
#

try putting it before exec

#

i.e. mvn -Dexec.args="--2thousands" exec:java