Joe F
Joe F

Reputation: 11

Java, IntelliJ IDEA setup question?

I was wondering how would I set IntelliJ IDEA up to when I click run\debug, it executes an external jar file?

Upvotes: 1

Views: 258

Answers (2)

Ryan Stewart
Ryan Stewart

Reputation: 128749

The simplest way would probably be to add the jar as a dependency/library of a project, then create a run configuration (Run -> Edit configurations) to run the class you're interested in.

Upvotes: 0

CrazyCoder
CrazyCoder

Reputation: 401877

Add the jar to the dependencies, specify the main class to run.

Upvotes: 5

Related Questions