title: Getting IllegalAccessError warning
body: <p>I'm trying to write my first program in selenium-java but in a short program of few lines I'm getting following error:</p>
  
  <p><em>Exception in thread "main" java.lang.IllegalAccessError: tried to access class org.openqa.selenium.os.ExecutableFinder from class org.openqa.selenium.firefox.FirefoxBinary
      at org.openqa.selenium.firefox.FirefoxBinary.locateFirefoxBinariesFromPlatform(FirefoxBinary.java:418)
      at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:108)
      at java.util.Optional.orElseGet(Unknown Source)
      at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:204)
      at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:108)
      at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:104)
      at com.packt.selenium.chapter1.NavigateToAUrl.main(NavigateToAUrl.java:12)</em></p>
  
  <p>My code is:</p>
  
  <pre><code>package com.packt.selenium.chapter1;   
  import org.openqa.selenium.WebDriver;    
  import org.openqa.selenium.firefox.FirefoxDriver;
  
  public class NavigateToAUrl 
  {
      public static void main(String[] args) 
      {
          WebDriver driver = new FirefoxDriver();
          driver.get("http://www.google.com");
  
      }
  }
  </code></pre>