This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions
  • 7,916,821 Comments

Discussions

my 8 year old son and I are new to java, using NetBeans to create mods for minecraft. Cannot compile

6ca721ff-b039-4951-af59-62127306d89e
edited May 18, 2015 2:28PM in New To Java

NetBeans tells me "@Override Annotation" at my line "public boolean onCommand(CommandSender sender, Command command, String label, String[] arguments) {"

Am I missing a library or class file?

Answers

  • aJohny
    aJohny PerthMember Posts: 4,856 Silver Crown
    edited May 18, 2015 11:52AM

    Refer the below link for annotations

    https://docs.oracle.com/javase/tutorial/java/annotations/predefined.html

    Are you getting any compile error?

    Cheers

    AJ

  • Unknown
    edited May 18, 2015 2:28PM
    NetBeans tells me "@Override Annotation" at my line "public boolean onCommand(CommandSender sender, Command command, String label, String[] arguments) {"
    
    Am I missing a library or class file?
    

    How would we know?

    If you want help with code you actually have to post the code.

    You need to SHOW US (not tell us)

    1. WHAT you do

    2. HOW you do it

    3. WHAT results you get

    4. WHAT results you expected to get

    No one on the forum can see your screen. So trying to get help by TELLING us what you think is happening is like trying to play a video game when you can't see the screen and someone tries to tell you what they see. In short - that doesn't work.

    Please post the info we need to help you.

This discussion has been closed.