It seems that Files.probeContentType() always (?) returns null on OpenJDK 11, while it was working on OpenJDK 8 (on Linux x64). What is the reason for
Files.probeContentType()
null