jdk12_headless disappeared in d00559ebb84af84b48a207a5a0a0762ce9d577eb, and just using the default in the VM test should be fine IMHO.
Co-authored-by: edef <edef@edef.eu> Co-authored-by: Florian Klink <flokli@flokli.de>