I've been trying to install Netbeans on Debian 9. I want to use the JDK that already comes with it. It's OpenJDK 8. But when I tell the installer to look into that folder for the JDK it says it doesn't have it.
However, if I direct the installer to the JDK I downloaded from Oracle, it seems to work as shown below.
What's causing this?