I have created an executable JAR file for my Java application. If I double-click then it works fine. But I want to create installer for Mac OS, because I cannot give a JAR file
Try jarbundler from http://informagen.com/JarBundler/.
You can create a nice OSX app including icon with it.
Just ship that. The user can drag this app to Application. No explicit installation step
necessary.