How to make .jar library from sources

后端 未结 4 636
隐瞒了意图╮
隐瞒了意图╮ 2021-01-22 00:51

I have Tapjoy sources sources, which have such sructure: Tapjoy/src/com/tapjoy/*.class

It must be compiled with Android API Level 9 and higher. My project i

相关标签:
4条回答
  • 2021-01-22 01:23

    In Eclipse IDE, it's very easy to create a JAR file.

    Just right click on your package > Export > Java > JAR File (and follow the wizard!)

    0 讨论(0)
  • 2021-01-22 01:27

    Or from command line

    jar cvf tapjoy.jar Tapjoy.class
    
    0 讨论(0)
  • 2021-01-22 01:28

    In Netbeans IDE, you can easy create own jar library,

    Projects on Right click -> Clean and build

    Thats it. You can use it now your "Project Location"/dist/MyApplication.jar

    All you need to do create new project and import your jar file How to import Jar File ?

    0 讨论(0)
  • 2021-01-22 01:38

    both are possible

    you can also use ant or maven for this kind of functionality.

    check for the jar tool for commandline approach!

    check eclipse ant build for eclipse approach and check the ant jar task for ant approach

    0 讨论(0)
提交回复
热议问题