NightWatch E2E test

I am trying to integrate m automatics test in Nightwatch for Vue app. Locally it works on my machine , but when I push it to the drone server I get this message :
I am using this e2e-nightwatch version.
I get this error:
INFO Running end-to-end tests in headless mode…
257 An error occurred while trying to start Selenium Server: cannot resolve path: “java”.
258 Please check that the “webdriver.server_path” config property is set correctly.
260 Error: Timeout while trying to connect to Selenium Server on port 4444.