delete jar files and add a lib directory