Assume your project folder structure as follows :
c:\test\classes\com\test\awt\Example.class
c:\test\classes\manifest.txt
You can issue following command to create a “Example.jar.
jar -cvfm Example.jar manifest.txt com/test/awt/*.class
For Example :
go to folder structure from commmand prompt "cd C:\test\classes"
C:\test\classes>jar -cvfm Example.jar manifest.txt com/test/awt/*.class