Geckodriver not starting on Mac OS X
<p>I've written <strong>Java 8 + GUI in Swing + Selenium 3.0.0-beta</strong> (to get some data from web) application (IDE: Intellij Idea), exported to <strong>.jar</strong> - it works correctly on Windows 10, Windows 7 with JRE installed. Unfortunately <strong>i have to start it on Mac</strong> - it launches, but error appears:</p>

<pre><code>IllegalStateException - geckodriver not executable.
</code></pre>

<p>I found a clue to add in my project:</p>

<pre><code>System.setProperty("webdriver.gecko.driver", "path");
</code></pre>

<p>but <strong>it doesn't work with either geckodriver.exe nor geckodriver for Mac</strong>.
Can You provide any solution or workaround to that problem?</p>