Skip to main content
Version: 6.11.0

Using an alternative manually installed Java 21

In order to start the Portal Dedicated using an alternative manually installed Java 21 (i.e. other than bundled Java 21), these are the steps to follow:

  • Ensure the Portal Dedicated is installed
  • Ensure the required Java 21 version is installed.
  • Open the file /etc/systemd/system/portal.service
  • In the file, update the Java path in the variable ExecStart= with the path to the required Java 21.
  • Run sudo systemctl daemon-reload to reload units.
  • Restart the Portal Dedicated using sudo systemctl restart portal
  • Verify the update by running sudo systemctl status portal . You should see the Portal Dedicated running on the manually installed Java 21