what is the best practice to create a .jar file from a java project??
Eclipse IDE is the best way for new comers. Just select the project right click export File, select jar anf filename.