export java into jar code example Example: java to jar # cd into the directory that contains your project jar cvfe .jar *