Fri. Dec 6th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

How to Create a Java Discord Bot (JDA 3.6.0+) | Initial Setup & Hello World

1 min read

**Join the discord server for questions and/or help: **

This tutorial has been verified to work up through version 3.8.0. This version number will continue to be checked as new versions of JDA are released and be marked outdated when it no longer will work.

0:15 Set up a Bot User
3:50 Installing Java
4:56 Installing Eclipse
6:11 Downloading JDA
8:40 Writing the Bot

Learn Java:
Discord Developers:
Permissions Calculator:
Get Java:
JDA Github:
JDA Documentation:
JDA Backup Documentation:

27 thoughts on “How to Create a Java Discord Bot (JDA 3.6.0+) | Initial Setup & Hello World

  1. When i run program i see this on console
    Java Native Access (JNA) API Version 4.4.0

    Version: 3.8.3_464

    Native: 5.1.0 (74e8f8e397c43487738c5c1f1363498b)

    Prefix: win32-x86-64


  2. Main imports:
    import net.dv8tion.jda.core.AccountType;

    import net.dv8tion.jda.core.JDA;

    import net.dv8tion.jda.core.JDABuilder;

    MyEventListener imports:
    import net.dv8tion.jda.core.entities.*;


    import net.dv8tion.jda.core.hooks.ListenerAdapter;

  3. "Exception in thread "main" java.lang.NoClassDefFoundError: net/dv8tion/jda/core/JDABuilder
    at Main.main(
    Caused by: java.lang.ClassNotFoundException: net.dv8tion.jda.core.JDABuilder
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    … 1 more" can someone help please?

  4. I get SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". error… I tried everything but almost every tutorial to fix this is for maven… Pls help asap…

  5. Very thorough and good tutorial. And thank you for actually explaining how to properly import the JDA into the project – no one else, for some stupid reason, does that.

  6. I have everything typed the exact same, but my bot won't receive or send messages, I've tried adding a "System.out.println(content)" in my onMessageReceived class, but it doesn't print anything to the console. Any ideas?

    Thanks in advance

  7. Hey just a quick question, is the learn java in the description teach me how to do all this, or does it give me a brief tutorial of java so then I understand it and I can use advanced commands in my bot?

    please respond A.S.A.P!


Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.