Skip to content

Netbeans Setup

Download

  1. Make a new Maven Java Application

    MavenApp

  2. Open up the pom.xml in the Project Files

    Pom

  3. Add S3 as a repository

    <repositories>
        <repository>
            <id>dv8tion</id>
            <name>m2-dv8tion</name>
            <url>https://m2.dv8tion.net/releases</url>
        </repository>
    </repositories>
    

  4. 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>
    
  5. Setup Logback

  6. Continue with Getting Started

  1. Download the latest (binary) version of JDA (with dependencies), as well as the javadocs

    Downloads

  2. Make a new Java Application

    JavaApp

  3. Right-click the Libraries folder in your project, and select Add JAR/Folder...

    Jar

  4. Find the JDA...withDependencies.jar and add it.

  5. Right-click on the newly-added Jar file, and select Edit...

    Edit

  6. Select Browse... and add the javadoc jar

    Browse

  7. Setup Logback

  8. Continue with Getting Started