Triggering Appium from the command line via Java code

this line should cause a compile time error as there is no such constructor.

Second issue is that the constructor doesn’t take a File object, it takes a String representation of the path.

Please change the whole line with the following line, give it a try and let me know how it works:

AppiumServer appiumServer = new AppiumServer(serverArguments, “D:/programfiles”);