In my case I was missing a Java Runtime environment (JRE). I'm running e2e tests with Selenium in a Debian-based docker image, hence apt-get install default-jre did the trick for me. It's a pity selenium doesn't give a more useful error message in this case.