codeetcetera
codeetcetera

Reputation: 3203

Can't generate javadoc in eclipse

This really should be a stupid question, but I'm trying to generate javadoc in my Android eclipse project and I'm getting errors. I'm on a mac and the javadoc command is set at

 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc

But for some reason it seems to be using 1.3

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

Has anyone else run into this?

Upvotes: 1

Views: 8103

Answers (1)

OmniSliver
OmniSliver

Reputation: 66

In Eclipse (Kepler release), go to Project -> Generate Javadoc..., then after the second "Next", you will see an option to select "JRE source compatibility". There, you have selected 1.3 (you have to select 1.5 or higher).

Upvotes: 5

Related Questions