How to Upgrade the Dependency Environment for Controller 5.15.20 on Linux System
Contents
Objective
This article provides step-by-step instructions for upgrading the dependency environment of Controller 5.15.20 on Linux, focusing on OpenJDK.
Requirements
-
Omada Software Controller
-
OpenJDK-17
Introduction
Beginning with version 5.15.20, the Controller mandates the installation of OpenJDK 17 as a dependency. The following section provides a detailed guide on upgrading your pre-existing OpenJDK to OpenJDK 17 on Ubuntu.
Configuration
Please follow the steps below before upgrading the Omada Controller to version 5.15.20.
Step 1. Install OpenJDK - 17
sudo apt-get install OpenJDK-17-jdk-headless
Step 2. Change the default Java version.
sudo update-alternatives --config java
Step 3. Enter the number corresponding to JDK 17. Here, enter 0.
Step 4. Check the Java version. Switching to version 17 indicates that the JDK switch was successful.
java -version
Step 5. Upgrade the Omada Controller.
sudo dpkg -i omada_v5.15.20.xxx.deb
FAQ
1. Is it necessary to upgrade MongoDB or JSVC when installing Controller 5.15.20?
Re. When upgrading the Linux Controller to version 5.15.20, there's no need to upgrade MongoDB and JSVC simultaneously. Starting from Controller version 5.15, it has been compatible with lower-version JSVC.
2. Does Controller 5.15.20 on a Linux system support higher versions of OpenJDK?
Re. The Linux Controller supports higher versions of OpenJDK, such as OpenJDK-21.
Conclusion
The above is the entire introduction and configurations for upgrading the dependency environment for Controller 5.15.20 on a Linux system; please configure it according to your needs.