Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 2.07 KB

Netbeans.md

File metadata and controls

68 lines (50 loc) · 2.07 KB

This wiki page is migrating to jda.wiki/setup/eclipse


How to start developing with Netbeans

Download

To start developing with Netbeans, follow one of the guides below:

Maven Setup

  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

    <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.

  1. [[Setup Logback|Logging-Setup]]

  2. Start developing!

Jar Setup

  1. Download the latest (binary) version of JDA (with dependencies), as well as the javadocs
    https://ci.dv8tion.net/job/JDA/
    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|Logging-Setup]]

  8. Start developing!