This is the best answer to this problem I was able to find;
https://stevenschwenke.de/CloudfoundryWithOpenJDK11AddJBP_CONFIG_OPEN_JDK_JRE