That would be the class that contains a main() method. It does not need to be named: main.class

I do not know how to use those tools to create a jar file. I use the jar command.