Did you try manually running java 11 directly? It would depend on how ubuntu manages multiple java versions, but on arch linux all versions get installed to /usr/lib/jvm/${version}, and the binaries for each are stored in /usr/lib/jvm/${version}/bin/. My own personal method is to temporarily add the binary directory to my PATH, so that it selects the right version automatically. I've even got a script to do it for me - the script probably only works on arch, but you might be able to adapt it to ubuntu....
Did you try manually running java 11 directly? It would depend on how ubuntu manages multiple java versions, but on arch linux all versions get installed to /usr/lib/jvm/${version}, and the binaries for each are stored in /usr/lib/jvm/${version}/bin/. My own personal method is to temporarily add the binary directory to my PATH, so that it selects the right version automatically. I've even got a script to do it for me - the script probably only works on arch, but you might be able to adapt it to ubuntu....
Incompatible with modern java (jre 16, 17)
Incompatible with modern java (bre 16, 17)