Netbeans Setup¶
-
Make a new Maven Java Application
-
Open up the pom.xml in the Project Files
-
Add JDA as a dependency
Note
These can go anywhere within the
<project></project>
tags.<dependencies> <dependency> <groupId>net.dv8tion</groupId> <artifactId>JDA</artifactId> <version>5.x.y</version> </dependency> </dependencies>
-
Continue with Getting Started
-
Download the latest (binary) version of JDA (with dependencies), as well as the javadocs
-
Make a new Java Application
-
Right-click the
Libraries
folder in your project, and selectAdd JAR/Folder...
-
Find the
JDA...withDependencies.jar
and add it. -
Right-click on the newly-added Jar file, and select
Edit...
-
Select
Browse...
and add the javadoc jar - Continue with Getting Started