Which JDK version are you using? You can check this via Studio Pro preferences.
According to https://github.com/mendix/cf-mendix-buildpack/blob/0e98ce3913798eb6bdc97b0fb4a117e42f4a9c87/buildpack/runtime.py#L91
Mendix 7.23.4 requires at least Java 8u262
This looks like a problem with the virtual machine.