In the tutorial I found out that jar files can be created in the following way:
jar cf jar-file input-file(s)
However, it was not clear wha
You can create a .jar file, zipping the folder with the compiled classes and renaming the file.
For instance, if your class files are located in the "game" folder, zip it to game.zip, and rename it to game.jar
This is really simple and it works!