--- title: "Java upgrade overview" slug: "java-upgrade-info" tags: ["Java 21", "OpenJDK Support", "Lobster Data Platform"] status: "update" updated: 2026-10-27T09:03:13Z published: 2026-10-27T09:03:13Z canonical: "docs.lobstersoftware.com/java-upgrade-info" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Java upgrade overview ## Why Java 21? Free Long-Term Support (LTS) for **OpenJDK 11** has reached end-of-life across all major distributions. This means security vulnerabilities in the Java runtime are no longer patched through regular update channels. Continuing to run Java 11 represents a growing security risk — regardless of whether you also update the **Lobster Data Platform**. **OpenJDK 21** is the current, compatible LTS release. It receives active security updates from all major distributions, including Adoptium and Eclipse Temurin. Starting with release 26.2, the Lobster Data Platform supports OpenJDK 21 as its primary runtime environment. We recommend aligning your upgrade plan with Java 21. ## Schedule and requirements | Platform version | Java requirement | Notes | | --- | --- | --- | | 4.6.x, 25.x, 26.1 | OpenJDK 11 | No Java upgrade | | 26.2, 26.3 | OpenJDK 11 *or* OpenJDK 21 | As of release 26.3, OpenJDK 21 is the recommended runtime. OpenJDK 11 is still supported in 26.3 but has reached vendor end-of-life. | | 26.4 | OpenJDK 21 | Starting with Release 26.4, Java 21 is required. The updater will abort the installation of 26.4 if Java 21 is not detected. Versions prior to 26.4 will continue to run on Java 11. | ## What has changed Below is a summary of the changes introduced in Java 21 or that took effect in Java 17. Please note that not all of these changes will be relevant to you and the Lobster Data Platform. ### Character encoding The default encoding is now **UTF-8**, even on Windows, where Cp1252 was previously used. Applications that read or write files without specifying an encoding may behave differently. Be sure to check log files, CSV exports, and database imports in particular. > [!NOTE] > **Fallback option**: `-Dfile.encoding=WINDOWS-1252` as a JVM parameter. ### Access to internal APIs The `--illegal-access` option no longer exists. Frameworks or libraries that access internal Java APIs will fail. You can replicate this behavior by adding specific `--add-opens` entries to your startup scripts. ### TLS connections TLS 1.0 and 1.1 are disabled by default. Connections to legacy systems (e.g., legacy databases, older LDAP servers) will fail. > [!WARNING] > **IMPORTANT:** > > Re-enable in `conf/security/java.security` under `jdk.tls.disabledAlgorithms` – as a temporary solution only. See [TLS Java changes](/v1/docs/en/tls-java-changes). | Tool | Usage | | --- | --- | | `jpackage` | Generates native installers (.msi, .deb, .rpm). | | `jwebserver` | Simple HTTP server for quick testing. | ## SecurityManager in Java 21 When the Lobster Data Platform is launched using Java 21, the following message appears in `logs/wrapper.log`: ```Custom *** INFO: SecurityManager could not be installed. See documentation for more details *** ``` Der **Security-Manager** von Java wurde von Oracle als veraltet eingestuft. Er steht unter Java 21 nicht mehr zur Verfügung. Die JVM lehnt den Installations-Aufruf ab. Die Plattform startet und läuft wie gewohnt. ### What changes with the removal of the SecurityManager Within the Lobster Data Platform, the `SecurityManager` performed two tasks: - `System.exit()`**– Interception**, which prevented libraries from abruptly terminating the JVM. - `Runtime.exec()`**– Interception**, which prevented libraries from launching external processes. Both protection mechanisms are no longer active in Java 21. ### How security is now guaranteed These protective measures are now the responsibility of the operating system or the container runtime. Use OS-level process controls or container security policies to restrict process termination and the launch of external processes. Examples include Linux seccomp profiles or Kubernetes security contexts. No other security mechanisms on the platform relied on the `SecurityManager`. The sandbox features it originally provided were not in use. ## Next steps 1. [Before upgrading Java – Checklist](/v1/docs/en/before-java-upgrade) – What to keep in mind during the upgrade.. 2. [Upgrade from Java 11 to Java 21](/v1/docs/en/upgrading-from-java-11-to-java-21) – Step-by-step instructions for upgrading to Java 21. This stands for Lightweight Directory Access Protocol. It is a protocol for accessing directory services such as Active Directory. It is available in the Lobster Data Platform for user authentication and as an input agent.