how to compile

Discussion in 'Bukkit Help' started by BeeT, Dec 3, 2011.

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


    Hey, I have source:
    and I would like to translate some text. How to open as project this source? Because helios eclipse and netbeans don't identify this source like project and I can't compile files...

    Please help, how to open this source as project or how to make simple compiler.
    Thank you.
  2. Offline


    You want to de-compile projects? Try JD-GUI
  3. Offline


    No. I want to compile java files, but some plugins sources aren't netbeans or eclipse projects and I don't know how to compile it...
    Example: [​IMG]

    So how to compile these files?
    Or how to open source as project in netbeans or eclipse...
  4. Offline


    You can easily import folders.
    Go to: File -> Import.
    Where it says select root directory, choose the file you want to import, and it should open and convert it to an netbeans/eclipse file.
  5. Offline


    Personally for me it doesn't work...


    After compile I had this error:

    2011-12-04 04:05:03 [SEVERE] Could not pass event CUSTOM_EVENT to Citizens
    java.lang.NoClassDefFoundError: net/citizensnpcs/Settings
    at net.citizensnpcs.healers.Healer.getHealthRegenRate(
    at net.citizensnpcs.healers.listeners.HealerCitizensListen.onCitizensEnable(
    at net.citizensnpcs.api.event.citizens.CitizensListener.onCustomEvent(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.citizensnpcs.Citizens$
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(
    at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.Settings
    at Method)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 11 more
    2011-12-04 04:05:03 [INFO] [Citizens] An error has occurred, please wait while it is sent to the developers...
    2011-12-04 04:05:03 [INFO] [Citizens]

    but i didn't change anything...
    I compiled all project and file Healer.class placed to Healer.jar package.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 21, 2016
Thread Status:
Not open for further replies.

Share This Page