Executing a Java program using JAR file

How to create a JAR file in Command Prompt:Start Command Prompt. Navigate to the folder that holds your class files;C:\cd mywork Set path to include