Ahh. I looked at that project type initially and didn't see a problem. But I missed a detail. If I pick the JDK 1.8.0 or JDK 1.11 entries, it builds a path to the correct jdk location. But when I pick the "Default Compiler" entry, it incorrectly uses the Java in PATH. On my system, that happened to be the same as the default. It's not consistent, sometimes repeating builds will get it to switch to the correct path, sometime restarting, sometimes not.
So I've got an area to look at. Thanks for the clarification.