java - Create Jar Library Without a Main Class -


today have created java library. created using main class, since intellij idea 14 asked me add one. want normal library, without main classes. possible create jar file such project without having single class main method? if so, how create such jar.

it seems bit silly have main method if never use it.

create artifact in article, without specifying main class http://blog.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/

then click build > build artifact > build.

this works if there no main class.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -