Oracle Java Certification in 2026: Which OCP Exam to Take

Updated October 2026.

Short answer: if you are starting today, take 1Z0-831 (Java SE 25 Developer Professional) or 1Z0-830 (Java SE 21 Developer Professional). Both have 50 questions, 120 minutes and a 68% passing score, and neither requires an earlier certificate. Pick the one that matches your study materials: 1Z0-830 has more books and mock exams, 1Z0-831 is the newest. The Java 8 exams that older guides (and the old version of this page) describe are being retired.

Current Oracle Java SE certification exams

ExamNameJava versionQuestionsPassing scoreStatus
1Z0-831Java SE 25 Developer Professional2550 (120 min)68%Newest exam
1Z0-830Java SE 21 Developer Professional2150 (120 min)68%Active
1Z0-829Java SE 17 Developer175068%Active, retirement reported for 28 February 2027
1Z0-819Java SE 11 Developer115068%Retirement reported for 30 November 2026
1Z0-808Java SE 8 Programmer I (OCA)85665%Retires 30 November 2026
1Z0-809Java SE 8 Programmer II (OCP)86865%Retirement reported for 30 November 2026
1Z0-811Java Foundations (Junior Associate)86065%Active, entry level

The 1Z0-831 exam costs $245 in the US; the price differs by country. Oracle usually announces retirements a few months ahead, so check the exam page on Oracle MyLearn before you book.

OCJP, OCPJP, SCJP and OCP: what the names mean

They are names of the same Java programmer certification from different years:

  • SCJP (Sun Certified Java Programmer) — the original name, used until Oracle bought Sun.
  • OCJP / OCPJP (Oracle Certified Professional, Java Programmer) — the Oracle name for Java 6–8. From Java 7 the exam was split into two levels: OCA (Associate, 1Z0-808 for Java 8) and OCP (Professional, 1Z0-809), and you needed the OCA certificate first.
  • OCP Java SE Developer — the current name. Since Java 11 there is one exam per Java version and no separate Associate step.

So when a job posting asks for “OCPJP” or “OCJP” today, any current OCP Java SE Developer certificate fits that requirement.

Which exam should you choose?

  • You are new to Java. Learn Java Core first, then decide. The 1Z0-811 Java Foundations exam is the easiest certificate, but it is rarely asked for by employers. Most people go straight to 1Z0-830 or 1Z0-831 after six months to a year of practice.
  • You already write Java at work. Take 1Z0-831 if you work with recent Java, or 1Z0-830 if you want more study guides and practice tests to choose from.
  • You started preparing for Java 8 or 11. Book the exam well before 30 November 2026, or move to 1Z0-830: most of the topics carry over.
  • You already hold an old OCJP / OCPJP. It stays on your record, but the upgrade exams (1Z0-810, 1Z0-813) no longer exist. To show current knowledge, take 1Z0-830 or 1Z0-831.

What the Java 25 exam (1Z0-831) covers

The exam objectives are published on the exam page under “Review exam topics”. The top-level areas for 1Z0-831 are:

  1. Handling date, time, text, numeric and boolean values
  2. Program flow control with decision and looping constructs
  3. Object-oriented principles
  4. Exception handling
  5. Arrays and collections
  6. Streams and lambda expressions
  7. Packaging and deploying Java code (modules)
  8. Multithreading and concurrency
  9. Input and output with the Java I/O API
  10. Localization

The 1Z0-830 (Java 21) exam covers almost the same areas, so preparing for one gets you most of the way to the other.

How to prepare

  1. Learn the basics in order. The free Java Core lessons on ExamClouds cover the start of the exam syllabus: flow control, loops, arrays, OOP, exceptions, lambdas and the Stream API. Collections, concurrency, I/O, date/time and localization need a full study guide.
  2. Write code every day. The exam is full of trick questions about what a snippet prints or whether it compiles. Running code yourself is the fastest way to learn those rules — try the practical Java tasks.
  3. Use a study guide for your exam number. The OCP Java SE 21 and 25 Developer Study Guides by Jeanne Boyarsky and Scott Selikoff (Sybex) follow the official objectives. Oracle University also has a video course for subscribers.
  4. Take mock exams. Enthuware mock exams are the usual choice; aim for 80% or more before booking. Check single topics with the free Java tests on ExamClouds.
  5. Ask when stuck. The OCP forum on CodeRanch is where the study guide authors answer questions.

How to register for the exam

Buy the exam on Oracle MyLearn, assign the attempt to your Oracle account and schedule it — online with a proctor or at a test center. You get the result in CertView, and the digital badge arrives by email.