This wiki page is migrating to jda.wiki/setup/eclipse
To start developing with Netbeans, follow one of the guides below:
-
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
<dependencies> <dependency> <groupId>net.dv8tion</groupId> <artifactId>JDA</artifactId> <version>3.8.3_464</version> </dependency> </dependencies>
Note: These can go anywhere within the
<project></project>
tags.
-
[[Setup Logback|Logging-Setup]]
-
Start developing!
-
Download the latest (binary) version of JDA (with dependencies), as well as the javadocs
https://ci.dv8tion.net/job/JDA/ -
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 -
[[Setup Logback|Logging-Setup]]
-
Start developing!