Solved Compile .java to .class

Discussion in 'Plugin Development' started by kameronn, Oct 3, 2016.

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

    kameronn

    Basically in the video he does it, but when I do it I get a whole bunch of errors.
     
  2. @kameronn Very helpful information from that I can determine the error is due to something and the fix is also something.

    Without the errors or what goes wrong we can't help. Believe it or not we aren't mind readers and we can't just SSH into your machine and have a look at your screen.
     
  3. Offline

    kameronn

  4. Offline

    timtower Administrator Administrator Moderator

    @kameronn Why don't you just use eclipse to compile the classes? As it is open already in the screenshot.
     
  5. @kameronn
    The problem is that you haven't told the javac compiler where to find the other classes referenced in "EntityHuman". I actually wouldn't use the javac compiler as it is incredibly annoying to work with multiple classes in. If you can't use the eclipse compiler, as @timtower suggested, then use something like ant or gradle to compile.

    Also, why are you trying compiling NMS code?...
     
Thread Status:
Not open for further replies.

Share This Page