When creating a new Java project in IntelliJ IDEA, the following directories and files are created:
./projectname.iml ./projectname.ipr ./projectname.iws ./s
Just copy-paste the .jar under the "libs" folder (or whole "libs" folder), right click on it and select 'Add as library' option from the list. It will do the rest...