Skip to Main Content

Java Programming

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!

Error -annotations are not supported in -source 1.3

807589Sep 7 2008 — edited Sep 7 2008
Hi friends, when I try to compile my src code using ANT ,
it gives me this error :

annotations are not supported in -source 1.3 -
use -source 5 or higher to enable annotations)
@Override
^

what is source 5...? If it is a jdk version than I am using jdk 1.6.X
Plz help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2008
Added on Sep 7 2008
2 comments
218 views