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