While running a jar file with the following command from the directory in which the jar file is saved
java -jar latex2nemeth-v1.0.2.jar trial1.tex trial1.aux