Oracle Java Certifications: OCP Exams, Paths, and Which Version to Tak
Oracle Java certification carries the legacy of Sun’s SCJP: one professional exam per Java release, now Java 17, 21, and 25. See which exam matches your Java version, how retakes work, and why the credential never expires.
Oracle Java
Oracle Java
Oracle Certified Foundations Associate, Java
1Z0-811
1 Practice Exams
50 Questions
Oracle Java
Java SE 11 Developer
1Z0-819
1 Practice Exams
50 Questions
Oracle Java
Oracle Certified Professional: Java SE 21 Developer
1Z0-830
1 Practice Exams
50 Questions
Oracle Java
Oracle Certified Professional: Java SE 17 Developer
1Z0-829
1 Practice Exams
50 Questions
Who Oracle Java Certification Is and What It Certifies
Oracle’s Java credentials descend from Sun Microsystems’ Sun Certified Java Programmer (SCJP), later OCJP, which Oracle inherited when it acquired Sun in 2010. They are vendor-owned and language-specific: Oracle controls both the Java platform and the exam, so each exam tracks a specific Java SE release. That is a different model from vendor-neutral providers, and the exams are code-reading tests. Most questions show a snippet and ask what compiles, what it prints, or what it throws Begin your preparation with a free Snowflake Snowpro core Certification practice test.
The certified skills center on the Java language and core APIs:
Object-oriented design with classes, interfaces, enums, records, and sealed types
Flow control, including pattern-matching
switchException handling and try-with-resources
Arrays, collections, and generics
Streams and lambdas
Concurrency
I/O and NIO.2
Modules
Localization and the Date-Time API
Certification Tier Structure
Oracle Java has a simple two-level structure, without the associate/professional/expert ladder of many cloud vendors.
Level | Exam | What distinguishes it |
|---|---|---|
Foundations | Oracle Certified Foundations Associate, Java (1Z0-811) | Entry-level programming concepts with no prior Java required. It suits students and career changers. |
Professional (OCP) | Java SE 25 Developer Professional (1Z0-831) | Current-LTS professional exam. |
Professional (OCP) | Java SE 21 Developer Professional (1Z0-830) | Previous-LTS professional exam. |
Professional (OCP) | Java SE 17 Developer (1Z0-829) | Still available, but with a reported retirement date of February 28, 2027. |
Retiring / legacy | Java SE 11 (1Z0-819), Java SE 8 Programmer I (1Z0-808), Java SE 8 Programmer II (1Z0-809) | Reported to retire November 30, 2026. |
Important naming change: The Oracle Certified Associate (OCA) title only exists for Java SE 8 (1Z0-808). From Java 11 onward, Oracle dropped the two-step OCA → OCP sequence in favor of one professional exam per Java version. There is no “OCA Java 17” or “OCA Java 21,” and Oracle’s older Master (OCM) tier is also gone. Treat any page that lists them as outdated.
Most In-Demand Oracle Java Certifications Right Now
Java SE 25 Developer Professional (1Z0-831)
The newest exam and the one tied to the current long-term-support (LTS) Java release. Oracle’s support roadmap lists Java 25 with Premier Support through September 2030. It has no published retirement date, and it is the usual recommendation for anyone starting today.
Java SE 21 Developer Professional (1Z0-830)
The previous LTS release and still widely used in enterprise codebases. It has no published retirement date and is a sound choice if your team runs Java 21.
Java SE 17 Developer (1Z0-829)
A popular exam because Java 17 is so widely deployed. With a retirement date reported for early 2027, it only makes sense if you must certify on Java 17 specifically.
Oracle Certified Foundations Associate, Java (1Z0-811)
The lighter entry exam for newcomers. It has no published retirement date.
How Oracle Java Exams Are Delivered and Structured
Testing partner and delivery
Oracle exams are delivered through Pearson VUE, either at a test center or through OnVUE online proctoring. You register through Oracle’s certification site, which routes scheduling to Pearson VUE.
Format conventions
50 questions on the current professional exams
120 minutes for Java SE 21 and 25 (Java 17 and 11 allow 90 minutes)
68% passing score on the Java SE 11, 17, 21, and 25 professional exams
Multiple-choice, code-reading questions with no live coding environment
Closed-book testing
Candidates report the Java 21 exam had notable time pressure, while early Java 25 test-takers report more breathing room
Cost
Oracle’s professional-level exams have long been priced around $245 USD, with pricing varying by country and with Oracle’s published schedule. The Foundations exam is priced lower. Always confirm on Oracle’s MyLearn exam page.
Retake policy
A 14-day wait applies after a failed proctored exam.
There is no cap on the number of retakes.
Each attempt requires paying for a new exam.
You cannot retake an exam you have passed.
Registering under a new Oracle testing ID to dodge the wait invalidates the result, with no refund.
Renewal and Recertification Policy
Oracle certifications do not expire. Oracle has historically stated that a certification holder is certified for life unless Oracle changes its policy, which is very different from the three-year cycles of vendors like CompTIA.
What that means in practice:
There is no continuing-education requirement and no renewal fee.
Your credential stays tied to the Java version you tested on. A Java 11 certification remains valid but signals Java 11 skills.
Employers increasingly prefer a current-version exam (Java 21 or 25). The way to stay current is to pass a newer version’s exam, which is optional.
When Oracle retires an exam, you can no longer take it, but credentials already earned are not revoked.
How to Choose Your First Oracle Java Certification
If you’re brand new to programming
Take 1Z0-811 (Foundations) to confirm the fundamentals before committing to a professional exam.
If you already write Java professionally
Skip Foundations and go straight to the professional exam for your target version. Start with Java 25 (1Z0-831) unless your employer is standardized on Java 21.
If your team uses Java 17 or 11
Check the retirement dates first. Java SE 11 (1Z0-819) is reported to retire on November 30, 2026, so pick Java 21 or 25 instead. Study materials for 17 and 21 still cover most shared fundamentals Begin your preparation with a free NVIDIA Certification exam practice test.
If you hold an older Java certification
You don’t need to renew, but you can take the Java 21 or 25 exam to show you know records, sealed types, pattern matching, and sequenced collections.
How Oracle Java Certification Compares to Other Vendors and Credentials
Vs. Spring-focused credentials: Spring certifications target the Spring framework, while Oracle Java tests the language and core APIs. Many enterprise developers need both skills, though Java certification is the language-level foundation.
Vs. cloud developer certifications (AWS Developer Associate, Azure AZ-204): Those test platform services and are language-agnostic. Oracle Java validates the language itself, so the two types of credential complement each other.
Vs. Oracle’s own cloud credentials (OCI): Oracle Cloud Infrastructure certifications are a separate track from Java SE, aimed at cloud operations and architecture rather than language mastery.
Vs. other language certifications (Python Institute PCEP/PCAP, Microsoft C#): Java stands out for having a single owner-controlled exam per language release, but few employers hire on certification alone. Portfolio and experience usually matter more.
