3

I am new to Java and IntelliJ and I would to know how to create a jar without a main. I am going to use this jar in other software (like matlab).

My question is similar to this one: How to create .jar from specific package (without main) in Netbeans?

However, I work with IntelliJIdea 12 Community edition, not with netbeans.

Community
  • 1
  • 1
Daan
  • 2,478
  • 3
  • 36
  • 76
  • 3
    possible duplicate [How to build jars from IntelliJ properly?](http://stackoverflow.com/questions/1082580/how-to-build-jars-from-intellij-properly) – BevynQ Jun 23 '13 at 23:05
  • 1
    The part "without a main" is very important. Therefore, it is not a duplicate. – Daan Jun 25 '13 at 18:55
  • can you clarify what you mean by no main class. I have had no problems making a jar with no manifest. – BevynQ Jun 25 '13 at 21:56

0 Answers0