Issue
When attempting to start a service in Mendix Service Console, the following error message appears stating that Java 21 is required.
The application cannot be started because of the following reason(s):
Java 21 is required to run this app.
Maybe the service could not be started.This article provides the necessary steps to resolve the issue and ensure the service starts successfully.
Environment
Applications hosted in On-premises
Cause
The error occurs when the required Java 21 version is not available or properly configured for the service to start.
Solution / Workaround
Make sure the System requirements/Pre-requisites are followed as mentioned in the document.
Java 21 is compatible with the following versions of Mendix Studio Pro:
9.24 LTS from version 9.24.3
10.6 MTS from version 10.6.9
10.11 and above
Please note that starting from Studio Pro version 10.21, Java 11 and 17 are deprecated. Therefore, using Java 21 is recommended, also mentioned in the release notes.
The Java 21 can be configured in App Settings as shown in the screenshot.
Internal information related
- 239788
Additional information
- Mendix Documentation: Microsoft Windows
- Additional Resources: Download Java 21
0 Comments