Any individual shallbe eligible if he has attempted first try in 2018 or 2019in grade 12th.
Since you have attempted first attempt in 2017 and must have cleared cin 2018 you shallnot be eligible for Jee Advanced.
https://engineering.careers360.com/articles/jee-advanced-eligibility-criteria
Eligibility | Application | Exam Pattern | Admit Card | Preparation Tips | Answer Key | Result | Accepting Colleges
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile