I don't know if this was mentioned but are you in high school. When you say AP are are you talking about advanced placement like taking something in high school which if you pass an AP exam you get college credit.
If you are in high school and taking java I would say go for both, because the java stuff would just blend in with your regular school work so it wouldn't be like anything extra. Then you could get your CCNA on the side.
Forgive me if i repeated anything or said anything stupid, I just breezed through the replies.
Whatever you choose I'm sure it'll work out just fine.
Good luck