Hi John,
As a workaround you can try using the System.setProperty command as follows:
FirefoxOptions firefoxOptions ;
firefoxOptions = new FirefoxOptions();
/* Example if geckodriver.exe is in "C:\Selenium" */
System.setProperty("webdriver.gecko.driver", "C:\\Selenium\\geckodriver.exe");
Hope this helps.
Anil