Netbeans Setup¶
-
Make a new Maven Java Application
-
Open up the pom.xml in the Project Files
-
Add S3 as a repository
<repositories> <repository> <id>dv8tion</id> <name>m2-dv8tion</name> <url>https://m2.dv8tion.net/releases</url> </repository> </repositories>
-
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>3.8.3_464</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