exporting and using a jar outside of eclipse code example Example: java to jar # cd into the directory that contains your project jar cvfe .jar *