How to compile package, create JAR file and run from the command line?

Write in the command line:
javac ResourceTest.java
jar cvfm ResourceTest.jar ResourceTest.mf *.class *.gif *.txt
java-jar ResourceTest.jar
When ResourceTest.java in the package is not working, and no service is running. How to understand the command line that ResourceTest.java in the package?
2ea50fda20b646948531f99cefdfbc63.jpg
In the Manifesto of one line:
Main-Class: ResourceTest
July 8th 19 at 11:47
1 answer
July 8th 19 at 11:49
For start commands separately, which one is not working, what error. "All in a heap" is not an approach for programming.
Even the text of the Manifesto does not hurt - charity84 commented on July 8th 19 at 11:52

Find more questions by tags Java