making installation file of my JAVA project

I have made a fully functional Java project using intellij. Its running perfectly. I just need to make .jar or installation file for that project. How can I do it?