How do you compile a plugin in eclipse?

Discussion in 'Plugin Development' started by maximumtech, May 20, 2012.

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

    maximumtech

    Ok, I've never compiled a plugin, or even a simple java package before, As I've always used MCP. Can someone tell me how? I feel really noobish. I looked on the interface I saw no compile button, and Export didn't work. I have the JRE and JDK.

    And javac main.class gives me errors, which I'm not sure If I should drag the whole api in there.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  2. Offline

    ddeckys

  3. Offline

    r0306

    maximumtech
    Click on Files tab>Export>Select JAR File>Click Next>Under Select the Resources to Export window, check the project you are making>Under Select Export Destination, select the location where you want to make your plugin (C:\Users\owner\Programming\eclipse\YourPlugin.jar)>Click Finish
     
  4. Offline

    ddeckys

    That's exactly what the tutorial said to do.......
     
  5. Offline

    r0306

    ddeckys
    What part of it doesn't work?
     
  6. Offline

    ddeckys

    I didn't realize a part of it didn't work?
    When did I say that.
     
  7. Offline

    r0306

Thread Status:
Not open for further replies.

Share This Page