I noticed that, although described in the documentation, Debian 9 is still not fully supported. E.g. the automatic download and installation of oracle-jdk does not work.
Installation of oracle-jdk works.
Installation of oracle-jdk fails.