title: Create Jar Library Without a Main Class
body: <p>Today I have just created a Java Library. I created it using a Main class, since IntelliJ IDEA 14 asked me to add one. However I want it to be a normal library, without any Main classes. Is it possible to create a jar file from such a project without having a single class with the main method? If so, how do you create such a jar.</p>
  
  <p>It just seems a bit silly to have a main method if you never use it.</p>