I need command line for Linux An Mac OS : So I know a command lines that I need For windows:

    cd src
    java -cp . mazesolver.SolverCode

Now I need what those lines will be in:
**Mac OS and Linux**