Solved External .Jar file doesn't work?

Discussion in 'Plugin Development' started by xxmarijnw, Jul 23, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    xxmarijnw

    Dear Devs,

    I've got a really big problem. I am creating a plugin for Bukkit (Duh! :p) i've added the external .Jar file but it still does not recognise
    Code:java
    1. extends JavaPlugin
    or
    Code:java
    1. import org.bukkit.plugin.java.JavaPlugin;
    . Please help!

    Yours sincerely,

    xxmarijnw
     
  2. Offline

    Konkz

    Did you add CraftBukkit or Bukkit?
    Did you add it correctly?

    Much questions, such wow.
     
  3. Offline

    amatokus

    xxmarijnw Don't forget to export the whole foldernot just your src folder!
     
  4. Offline

    xxmarijnw

    Konkz
    I've added Craftbukkit-1.7.9-R0.2.
     
  5. Offline

    Gater12

    xxmarijnw
    You should be using Bukkit API jar unless you're working with Minecraft internals.

    Did you add it correctly?
     
  6. Offline

    xxmarijnw

    Gater12 The way i added it:
    Right-clicked my "Java Project" folder and clicked on Properties.
    Clicked on "Java Build Path" and then on "Libraries"
    I clicked on "Import External Jars" and imported the Bukkit .Jar file.

    Bump, Ik its not 24 hours... But i really need help. Srry!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  7. Offline

    Traks

    Try Project > Clean and/or right-click on project > Refresh
     
Thread Status:
Not open for further replies.

Share This Page