GUI-level testing with keyword-driven tests and Selenium is only supported with Java 8.
This is a Selenium restriction. The only workaround is to use Java 8.