I've written Java 8 + GUI in Swing + Selenium 3.0.0-beta (to get some data from web) application (IDE: Intellij Idea), exported to .jar - it works correctly on Windows 10, Windows 7 with JRE installed. Unfortunately i have to start it on Mac - it launches, but error appears:
IllegalStateException - geckodriver not executable.
I found a clue to add in my project:
System.setProperty("webdriver.gecko.driver", "path");
but it doesn't work with either geckodriver.exe nor geckodriver for Mac. Can You provide any solution or workaround to that problem?