Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

6ca721ff-b039-4951-af59-62127306d89eMay 18 2015 — edited May 18 2015

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?

Comments

aJohny

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-7404

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.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 15 2015
Added on May 18 2015
2 comments
753 views