I wrote a simple program to run on a remote server, but there was a banal and stupid problem. I launch from the console:
username:my_parser user$ java errorParser.jar Error: Could not find or load main class errorParser.jar The Main class has a main method. I collected from IDEA, in the screenshot I parametrized the build through artifacts, then Build> Build Artifacts
Tell me what could be the problem? (mac os)

public static void main(String[] argv)methodpublic static void main(String[] argv)exactly 1 class. - paveljava -jar errorParser.jartried? - Roman