Some context: I am trying to access a router from a java program and I want to access it via a web browser. The easiest way I can think of is sending a command to the command-line, but none of the code that I have been using has worked thus far.
the method that I'm using is:
Runtime.getRuntime.exec();
I'm not sure what command I should enter. Any suggestions?
Edit: I forgot to mention that I need a Mac and Windows version.