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