A basic click-to-run bot using D4J.
If you get this view with no SDK to choose from, click on the green plus sign and select your jdk folder, you should end up with this:
Import the project as a maven project into your IDE of choice.
Once imported, either build it as a jar or run it from your IDE. When unning the bot, the first argument of the exec must be your token.
When running as a jar: java -jar builtjar.jar TOKENHERE
When running from an IDE:
IntelliJ:
Eclipse:
A fatjar can be built through maven simply by running the mvn package
goal in whatever manner your IDE requires.