Today I just created a Java library. I created it using the main class since IntelliJ IDEA 14 asked me to add it. However, I want it to be a regular library without core classes. Is it possible to create a jar file from such a project without having one class with the main method? If so, how do you create such a jar.
It seems foolish to have a basic method if you never use it.
source share