The MazeSolver program works both in ide and as a jar. The preferred running option is jar execution, it should be supported on Winodws,Linux, and MacOs.
To execute the MazeSolver program install and put the jar stored under out/artifacts/MatrixMaze_jar in its own folder. Then execute this command in your command line of choice java -jar FilePathToMatrixJar . (Dont forget the .jar on the end)