Reputation: 366
I would like to have intellij do the equivalent of:
java -cp "target/skinny.jar:target/lib/*" com.example.ClassName arg2 arg1
Please show how this can be accomplished in intellij idea.
Upvotes: 1
Views: 482
Reputation: 401945
You can add a library for the directory/multiple directories/jars and then include this library into the module dependencies.
There is no option to provide custom classpath in the Run/Debug configuration at the moment, so it has to be done in the Project Structure.
Upvotes: 1