Java, IntelliJ IDEA setup question?
I was wondering how would I set IntelliJ IDEA up to when开发者_JAVA百科 I click run\debug, it executes an external jar file?
Add the jar to the dependencies, specify the main class to run.
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.
精彩评论