JDK 21 support for UVMS 7.x
search cancel

JDK 21 support for UVMS 7.x

book

Article ID: 450974

calendar_today

Updated On:

Products

Automic Dollar Universe

Issue/Introduction

Users attempting to install or run UVMS (Dollar Universe Management Server) with JDK 21 may encounter the following error during installation or startup:

Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:429)
at com.orsyp.central.security.SecurityUtils.installSecurityManager(SecurityUtils.java:86)
at com.orsyp.central.server.CentralServer.main(CentralServer.java:256)

Environment

UVMS 6.x or 7.x trying to be started with a Java version superior than 11

Cause

This issue occurs because UVMS versions 6.x and 7.x (up to 7.1.x) do not currently support JDK versions higher than Java 11.

Specifically, the deprecation of the Java Security Manager in newer JDK versions (such as JDK 21) causes the UnsupportedOperationException when the application attempts to initialize security settings.

Resolution

To resolve this issue, please follow these guidelines:

  1. Downgrade to Java 11: The highest supported Java version for Dollar Universe 6 and 7.x is currently Java 11.
  2. Upgrade UVMS: Ensure you are running the latest maintenance release (e.g., version 7.1.21 or later) to include recent security and stability updates.
  3. Future Support: Support for Java 21 is planned for the release 7.2.x, which is tentatively scheduled for H2 2027.

For the most up-to-date information, please refer to the Dollar Universe Compatibility Matrix.