'Unable to run Selenium Grid with the role hub

I am trying to run selenium grid hub with -role hub. This was the command I used: java -jar selenium-server.jar -role hub My selenium server .jar file is stored under the same name.

Cmd output



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source