i am very new in java.
anyone pls tell me step by step that how can i make executable jar file for my ListFile.java file ....

I made a directory named "Test" where put ListFile.java & ListFile.class file.
then i made a "mainClass.mf" file in same directory where having this code:

Main-Class: Test.ListFile

after this i created jar file containing this code:

>jar cmf mainClass.mf ListFile.jar*.*

but its not working..

pls help....................