Upgrading midPoint to Java 25 before moving to 4.11
If your team runs midPoint on Java 17 or Java 21, plan the runtime change before you adopt midPoint 4.11, and treat it as part of the release upgrade rather than a separate task. midPoint recommends Java 25 for version 4.11 and later, with Java 21 still supported. Versions 4.10 and older recommend Java 21, with Java 17 still supported. Those are the Java versions to plan against, and the recommendation is stated in the midPoint system requirements and the 4.11 release notes.
The Java move is usually bundled with a release upgrade, and it must follow the supported version path. midPoint does not allow you to jump across several releases in one step, so the Java target should match the release you are stepping to at each point in the sequence. Before you change the JDK, confirm which midPoint release you are on, which release comes next in your path, and which Java version that release names. Keep a record of the current JDK version, its vendor and its patch level on each node, because you will need to compare these values after the change.
Choose the distribution before you install anything. midPoint recommends OpenJDK-based distributions. The 4.11 release notes state that Oracle JDK builds are supported only while Oracle provides public updates, and that OpenJDK builds with public support are the recommended option. Ask your platform team which OpenJDK vendor they standardize on, who provides security patches for that build, and how long those patches are available. Confirm that the vendor's Java 25 build is available in your internal package repository or image registry, since the runtime must be reproducible across every node.
If you run midPoint from container images, check whether the image already bundles the required Java version. Evolveum states that midPoint container images are created with the required Java version, so you may not install a JDK yourself. Verify that against the image tag you plan to deploy, and confirm the image is pulled from a registry you control. If you run midPoint on a virtual machine, the JDK becomes your responsibility to patch on a schedule. Clarify who owns that work, and whether your change process treats a JDK update as a new release.
Which Java version each midPoint release expects
This table compares midPoint release lines with the Java versions they recommend and support, and what each means for a standalone server. Read each row against the Java version you run today, then take the action in the last column. Support dates for 4.8, 4.9 and 4.10 come from the midPoint releases page, so confirm them there before you plan a window.
| Release line | Recommended Java | Impact on a standalone server | Action needed |
|---|---|---|---|
| midPoint 4.11 and later | Java 25 | Java 21 still runs the release, but Java 25 is the recommended runtime | Install an OpenJDK-based Java 25 on the server and test startup and Ninja before cutover |
| midPoint 4.10 and older | Java 21 | Java 17 is supported but no longer the recommended runtime for these lines | Confirm the Java 21 requirement for your exact release before changing the JDK |
| Java 21 supported with 4.11 | Java 21 | Fallback runtime for 4.11 if Java 25 is not yet available in your estate | Treat as a temporary option and confirm it with Evolveum for your release |
| Java 17 supported with 4.10 and older | Java 17 | Supported fallback only; new deployments should not start here | Plan to move to Java 21 as part of the midPoint upgrade path |
| midPoint 4.8 (LTS) | Check the 4.8 system requirements | Support runs until 17 October 2028 according to the releases page | Confirm the exact Java version for 4.8 in the system requirements before you build the image |
| midPoint 4.9 | Check the 4.9 system requirements | Support ends 18 October 2026 according to the releases page | Move off 4.9 on a planned path, and confirm the Java version it expects |
| midPoint 4.10 (feature) | Java 21 | Support runs until 26 November 2027 according to the releases page | Move the JDK to Java 21 before or with any move to 4.11 |
| Oracle JDK builds | Not the recommended distribution | Supported only while Oracle provides public updates | Prefer an OpenJDK build with public support and confirm your license position |
How the Java runtime fits into a midPoint server
The Java runtime is the foundation of every standalone midPoint node. midPoint is written in Java, and the JVM that starts it loads the midPoint application, runs its synchronization and provisioning tasks, and executes the expressions and connectors that talk to your target systems. On a standalone server, midPoint typically runs on Linux in a virtual machine or from Docker images, and it stores its data in PostgreSQL, its native repository, ideally on a separate database server. That split matters for Java planning: the JVM upgrade affects only the application host, while the database server has its own patching cycle and should not be changed in the same window without a separate plan.
The JVM must match the release you deploy because midPoint sets a required Java version per release. midPoint recommends Java 25 for version 4.11 and later, with Java 21 supported, and Java 21 for 4.10 and older, with Java 17 supported. Before you change anything, confirm on the midPoint system requirements page which Java versions your target release accepts, and check which Java version your current node runs with java -version. Upgrading the JVM first on a release that expects an older Java, or the reverse, is a common reason a node fails to start after a release change.
Plan the runtime as a versioned component of the release, not as a host setting. Record the Java version, its distribution and its patch level in your change record alongside the midPoint version, and keep the JVM install under your configuration management so that a rebuild of the server reproduces it. Confirm the Java version with your vendor or the release notes before you schedule the cutover, because the supported set changes with each midPoint release. Test the target JVM against a copy of your repository and your connectors in a non-production environment first, since a runtime mismatch often surfaces only when a connector or scheduled task runs.
OpenJDK or Oracle JDK for midPoint
midPoint recommends OpenJDK-based distributions for the Java version your release requires. An OpenJDK build is a distribution of the open-source Java platform, and several vendors package and maintain it with their own update schedules and support terms. The recommendation fits teams that want a build with public support and a clear patch channel that their own operations process can follow.
- Vendor choice: Several organizations publish OpenJDK builds. Confirm which vendor your standards allow and whether it signs its packages.
- Update cadence: Check how often the vendor ships security and bug fix updates for the Java major version you plan to run.
- Support window: Confirm the end-of-support date for the specific build, not only the Java major version.
- Container base images: If you run midPoint in containers, check which Java runtime the supplied image bundles before adding your own base image.
- Internal policy: Record which build your vulnerability management and patching policy covers so that the scanner and the runtime agree.
Before choosing, ask your platform team which OpenJDK distribution it already supports and whether that distribution covers the Java version your target midPoint release requires.
Evolveum states that midPoint supports Oracle JDK builds only while Oracle provides public updates. Oracle's public update terms have changed over time, so the support status of a given Oracle build depends on the license and update channel your organization uses. If public updates stop, midPoint support for that build stops with them, and you would need to move to another build.
- Public updates: Confirm with Oracle whether the build you plan to use still receives public updates at the time of your rollout.
- License terms: Ask your legal or procurement team whether your use of the Oracle build requires a commercial agreement.
- Update continuity: Plan for a forced change of Java build if public updates end during the life of your midPoint release.
- Support evidence: Keep the Oracle release notes and update record that show which build is covered by midPoint support.
- Migration cost: Estimate the internal work to switch distributions later, including test cycles on a staging environment.
Before choosing an Oracle build, confirm both its public update status and its license position in writing with the people who own those decisions.
The distribution choice is a governance decision as much as a technical one. Vendor, update cadence and internal support policy need to be settled together, because they determine how quickly you must patch midPoint's runtime and who answers when a Java vulnerability is reported. Writing the decision down also gives auditors a record of how the runtime is controlled.
- Distribution vendor: Name the vendor and build version your organization will run, and who approved it.
- Update cadence: Document how quickly the team applies Java security updates and who monitors vendor advisories.
- Internal support policy: Confirm that your support policy names the build, the Java major version and the owner of patching.
- Target release: Match the Java major version to the midPoint release you plan to run, since 4.11 and later and 4.10 and older recommend different versions.
- Exit path: Record what happens if the chosen build loses public updates or your vendor changes its terms.
Before approving the build, confirm the vendor, update cadence and internal policy with your platform, security and procurement owners, then ask DeployOpen to test the chosen build in your staging environment.
The decision path for the Java 25 move
The path starts with confirming your current midPoint release, because that release determines which Java versions are supported. Next, check the Java version recommended for your target release, then choose an OpenJDK-based build or a supported Oracle build. Choose between a virtual machine and a container image, take backups, and upgrade Java and midPoint together in staging. Promote to production only after you have a rollback point.
Decision path from current release to a production Java 25 upgrade.
What to prepare before changing the Java runtime
A Java runtime change touches every midPoint node, the database access path and any custom code built on the current JDK. The cards below cover what to record, back up and test before the first node is touched, so a rollback stays possible if the new runtime misbehaves.
Inventory Java on every node
Record the Java version and JDK vendor on each midPoint node, including standby and task-running nodes, and on any container host that bundles its own runtime. Confirm which builds are OpenJDK and which are Oracle JDK, since midPoint 4.11 recommends OpenJDK builds with public support. Note the target release line, because 4.11 and later recommend Java 25 while 4.10 and older recommend Java 21. Mixed JDK versions across nodes are a common source of surprises during rolling changes.
System requirementsBack up the database and configuration
Take a full PostgreSQL backup and confirm it restores into a scratch database before any change. Also back up the midPoint home directory, the configuration files, keystores and any custom resource or connector definitions. Store copies outside the host being changed. Record the backup time and the midPoint version it was taken from, so a rollback has a known starting point.
Build a production-like staging environment
Stand up a staging environment with the same midPoint version, PostgreSQL version, node count, load balancer behavior and connector set as production. Copy a recent production database, not a small sample, so repository and task behavior reflects real volume. Run reconciliation, a representative provisioning test and login flows on the new runtime there first. Staging that differs in topology will not show cluster or cache issues.
Inventory custom code and libraries
List every custom module, overlay change, script library, connector and third-party jar that midPoint loads, and the JDK each was built or tested against. Ask the developers to confirm whether they compile and run on the target JDK, and whether any use APIs removed or restricted in newer releases. Include build tooling, such as Maven plugins and bytecode agents, which can fail before the application starts.
Select the target JDK or image
Decide whether the new runtime comes from an OpenJDK package installed on the host or from a midPoint container image that already bundles the required Java version. Pin the exact image tag or JDK package version rather than a floating tag, and confirm the image matches the midPoint release you plan to run. Document the source, checksum and approval for that artifact so the change record is complete.
Containers docsSet change windows and named owners
Name one owner for the runtime change, one for the database backup and restore, one for application testing and one for the rollback decision, with a deputy for each. Agree a change window long enough to run the test plan and a rollback, and confirm who can approve stopping the change. Share the schedule with the teams that run connected systems, because provisioning and reconciliation tasks may pause during the window.
How to sequence the Java 25 upgrade on a standalone server
The sequence moves a standalone midPoint server onto Java 25 in staging first, with a rollback point at each stage, so production changes only after the target release, its matching runtime and its checks have been proven on a copy of the real data.
Confirm the current release and its maintenance level
Record the midPoint version, the database schema version and the Java runtime the server uses today. Confirm that the installed version is the latest maintenance release of its line, because midPoint's upgrade rules expect the server to be on that release before a step to a newer line. Confirm the target: midPoint 4.11 is the release that recommends Java 25, with Java 21 still supported. Check the release notes for the target version and any prerequisite maintenance release it names. This step is done when you have a written record of current and target versions, and the team agrees the target is the one you plan to run. Rollback point: nothing has changed yet, so stopping here costs nothing.
Install the chosen Java 25 OpenJDK build in staging
On a staging host that mirrors production's operating system and resources, install an OpenJDK-based Java 25 build from a distribution your organization can support with security updates. Avoid Oracle JDK unless your contract covers it, because midPoint 4.11 release notes state Oracle builds are supported only while Oracle provides public updates. Point the staging midPoint service at this runtime and confirm the Java version reported at startup. Keep the existing Java 21 installation in place so you can switch back. This step is done when the runtime version is recorded and the old runtime still starts a copy of the current release. Rollback point: the previous Java installation remains on the host.
Back up the repository and configuration
Take a consistent backup of the PostgreSQL repository and of the midPoint home directory, including the configuration files, keystore references, custom schema, and any expression or function library files. Store the backup outside the server being upgraded and test that it restores into a scratch database. Record the checksum or backup identifier in your change ticket. If the server runs in a virtual machine, take a snapshot as an additional rollback aid, not a replacement for the database dump. This step is done when a restore has been tested on a separate database and the team has the restore steps written down. Rollback point: the verified backup is the fallback for both the database and the files.
Run the target release upgrade in staging
Stop the staging midPoint service and use the Ninja command-line tool from the target release, running on the Java 25 runtime, to check and upgrade the repository schema. Then replace the distribution with the target release and start the service. Follow the upgrade steps in the target release notes exactly, and do not mix nodes running different versions. Watch the first startup output for schema errors, deprecated settings and connector warnings. This step is done when midPoint starts cleanly on the target release and reports the Java 25 runtime. Rollback point: restore the staging database backup and restart the previous distribution on Java 21.
Verify logs, login, connector tests and scheduled tasks
Review the midPoint log file for errors and warnings introduced since the upgrade started, and compare them against the baseline you recorded before the change. Sign in with a test administrator account and a standard user account, confirm that the interface loads and that expected roles and approvals are visible. Run the connection test for each configured resource, and confirm that a sample reconciliation or import completes. Check that scheduled tasks start on time and that Quartz-driven tasks have not stalled. Compare a sample of object counts and task results with the pre-upgrade values. This step is done when the checklist is signed off by the platform owner and the application owner. Rollback point: restore the staging backup and return to the Java 21 runtime and the prior release.
Promote to production with a rollback window
Schedule the production change using the same ordered steps that passed in staging, with the same backup and restore procedure. Stop the production service, take a fresh database backup immediately before the change, and apply the upgrade with the target release and Java 25 runtime. Repeat the log, login, connector and task checks, and keep the previous runtime and database backup available until the checks have passed and the team agrees the change is accepted. This step is done when production passes the same checklist and the change record names the backup used for rollback. Rollback point: restore the pre-change production backup and restart the prior release on Java 21 if any check fails.
Using container images that already bundle Java
midPoint container images are built with the Java version the release requires, so for a move to 4.11 the Java 25 runtime arrives with the image tag rather than through a separate JDK install on the host. That changes the work. Instead of installing and patching a JDK on each server, the team pulls the image for the target release, and the Java version becomes a property of the image you deploy. Confirm the Java version inside the image you actually pull, using the release notes and the midPoint in containers documentation, rather than assuming it from the tag name alone.
The first check is the tag itself. The image tag must match the target release exactly, and the Ninja upgrade must run from the same version as the new application image, so the database schema and the runtime move together. Also confirm the volume layout. The 4.11 non-root image change means the container user may no longer be able to write to mounted paths such as the midPoint home directory or log locations, so the team must plan ownership and permission fixes for existing volumes before the first start. Test this on a copy of the production volumes, not on an empty volume, because an empty volume hides the problem.
If your organization builds custom images, for example to add JDBC drivers, certificates or connector jars, those images must be rebuilt on top of the new base image. Patching a running container or copying files into an old image on the host carries the previous Java runtime forward and makes the Java version hard to prove to an auditor. Ask whether your build pipeline pins the base image by tag or digest, record the digest in the change record, and confirm that the custom layers still work on the new base before scheduling the cutover.
What changes in the Java move and what it affects
This table compares each Java change for midPoint 4.11 with its impact on a standalone server and the action to take before upgrading. Read each row as a checkpoint: the release notes and system requirements set the Java versions, and your own custom libraries and scripts determine the remaining work.
| Change | Impact | Action needed |
|---|---|---|
| Recommended Java moves from 21 to 25 for 4.11 | Standalone servers moving to 4.11 should run Java 25, the version midPoint recommends for 4.11 and later. | Install a Java 25 runtime on each midPoint node and confirm the version in the startup logs before go-live. |
| Java 21 remains supported for 4.11 | Java 21 is still a supported runtime for 4.11, so the move to Java 25 is a recommendation rather than an immediate cutoff. | Confirm with Evolveum's current release notes whether staying on Java 21 for a transition period fits your change calendar. |
| Java 17 and 4.10 and older | The system requirements list Java 21 for 4.10 and older and Java 17 as supported, so a 4.10 server can stay on its current runtime until the upgrade. | Record the runtime each node uses today so the rollback plan names the exact Java version. |
| Oracle JDK support tied to public updates | midPoint supports Oracle JDK builds only while Oracle provides public updates, so an Oracle build can fall out of support without a midPoint change. | Check whether your current Oracle build still receives public updates and plan a switch if it does not. |
| OpenJDK recommended | midPoint recommends OpenJDK builds with public support, which affects the distribution you select and the patch source you depend on. | Select an OpenJDK-based distribution with a published support window and confirm it with your vendor or internal platform team. |
| Container images bundle the required Java | Official midPoint container images are built with the required Java version, so the runtime changes when you change the image tag. | Do not install a separate Java in the container. Confirm the image tag, then check the Java version inside the running container. |
| Custom libraries, scripts and agents | Java upgrades can affect JDBC drivers, connector dependencies, custom code and monitoring agents that were built for an older runtime. | Inventory every jar, script and agent loaded by midPoint and confirm each one runs on Java 25 before the change window. |
| JVM options and startup settings | Heap, garbage collector and other JVM flags tuned for Java 21 may need review on Java 25. | Compare your JVM flags with the release notes and test memory behavior under a representative load. |
What makes the Java 25 move take longer
How does the number of midPoint nodes change the Java 25 effort?
More nodes generally widen the work, because each node runs its own JVM and must be moved, tested and restarted in a controlled order. A multi-node midPoint uses a sticky HTTP load balancer, a shared central database and cache invalidation between nodes, so teams usually need a rollout sequence that keeps the cluster consistent while nodes change Java versions. Environment count matters in the same way: each of development, test, staging and production needs its own rehearsal, and the production change is usually the last and most scrutinized step. Ask your implementation partner to name the rollout order and the rollback point for each environment in the written scope.
Do custom Java code or overlay builds slow down a Java 25 upgrade?
Yes, custom code is one of the largest drivers. Custom expressions, function libraries, schema extensions or code-level changes in an overlay project must be compiled and tested against the Java version you are moving to, and any library they pull in must also support it. Overlay builds also need the build toolchain pointed at the new JDK and a fresh artifact for each environment. The more custom code exists and the less of it has automated tests, the more manual regression testing is needed before the change can be approved.
Which connectors and scripts depend on the JDK?
Anything that runs inside the midPoint JVM or calls Java directly needs review. Connectors built on the ConnId framework, scripted resources and any custom connector bundles should be checked for compatibility with the target Java version and with the connector versions bundled with your target release. Scripts that call external commands, native libraries or JDK-specific APIs can behave differently after the change. Ask the team to inventory every connector and script, record its version and confirm its test result on the target JDK before the production window is set.
Does running Oracle JDK add work before moving to Java 25?
It can. The midPoint 4.11 release notes state that midPoint supports Oracle JDK builds only while Oracle provides public updates, and recommend OpenJDK builds with public support. If your servers run Oracle JDK, the move includes choosing an OpenJDK distribution, confirming your organization's approval for that distribution, updating every server and any golden images, and retesting startup and performance. Check the licensing position of your current Oracle JDK with your procurement or legal team before the change, because the answer determines whether the replacement is urgent.
How do container images change the Java 25 work?
Official midPoint container images are built with the Java version the release requires, so for 4.11 the image already bundles Java 25. That removes the separate JDK install step but moves the work to image handling: you must confirm which image tag you run, replace it in every environment, and check any custom image layers that add libraries or change the base. Teams that extend the image, mount custom JARs or use their own Dockerfile need to rebuild those images on the new base. Non-root image changes in 4.11 can also require volume permission fixes, which should be scheduled with the Java change rather than discovered during the window.
Why does the database size affect the backup step before the change?
The backup must be complete and restorable before any server is touched, and its duration grows with database size. A larger PostgreSQL repository and audit database takes longer to dump or snapshot, takes more storage to hold, and takes longer to restore during a rehearsal. Teams should test a restore into a separate environment and time it, because that test sets the real length of the maintenance window. Confirm with your database administrators where the backups are stored, how long retention runs and who signs off that a restore was tested.
Can our own team do the Java 25 move without a partner?
Often yes, if the environment is small, uses standard containers or packages, has few custom components and the team has run midPoint upgrades before. The work becomes harder when there are many nodes, custom code, undocumented connectors or limited test coverage. Whatever the choice, ask for a written scope listing the environments, connectors, custom code, backup and restore test, rollback plan and sign-off steps, because those items determine the effort on either side. DeployOpen plans and implements these moves in infrastructure you control under a written scope.
How DeployOpen scopes and delivers a midPoint Java upgrade
DeployOpen treats the Java move as one part of a midPoint change, not a standalone runtime swap. We scope the JDK choice, the container or VM image, and the midPoint release path together, then build and test the change in a non-production copy of your environment before anything moves to production.
How we scope
- Confirm your current midPoint release and whether it is on the 4.10 or 4.11 line, since Java 25 is recommended from 4.11 onward.
- Record how midPoint runs today: Linux VM, Docker image or Kubernetes, and which JDK build is installed on each node.
- Agree in writing whether the work covers a JDK-only change or a combined Java and midPoint version upgrade.
- Engagements are fixed-scope, so deliverables, environments and acceptance tests are listed before work begins.
How we build
- Move each node to an OpenJDK-based distribution with public support, and document the exact build and version used.
- For container deployments, confirm that the image tag bundles the required Java version rather than adding a JDK by hand.
- Run the change in a staging copy with the same database, connectors and sticky load balancer behavior as production.
- Test login, scheduled tasks, connector synchronization and cache invalidation between nodes before sign-off.
How we hand over
- Deliver a runbook that records the Java version, distribution, image tag and rollback steps for each node.
- Document any Oracle JDK builds that were replaced and the reason, so future audits can trace the runtime change.
- Walk your operations team through the health checks, logs and task results they will use after cutover.
- Provide a change record that lists what was tested, what was excluded and what still needs your confirmation.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the handover.
- Track Java and midPoint support dates so the next runtime change is scoped before the current one ends.
- Plan the follow-on midPoint release steps separately, with their own scope and testing.
- Ask for a quote that separates one-time build work from any recurring retainer for maintenance.

