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/management-console.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 management-console
- Verify the update by running
sudo systemctl status management-console
. You should see the Portal Dedicated running on the manually installed Java 21