manifest.mf
In it you put something like:
Main-Class: mastermindStrategyBetter1Gui
(Substitute mastermindStrategyBetter1Gui
with the name of your main class.)
then type (for example):
jar -cvfm bing.jar manifest.mf hangmanGUI3.class hananGUI3\$manDrawing.class hangmanGUI3\$playAgain.class dict
to run your jarfile type:
java -jar bing.jar
to see what is in your jar file type:
cat bing.jar | jar -t
To unzip your tar file type
cat bing.jar | jar -x