how to create jar file using eclipse

后端 未结 3 2013
刺人心
刺人心 2020-11-29 09:33

I have a folder name called configurator which has many sub folders and class files. I need to create a configurator.jar file of this folder using eclipse. I f

3条回答
  •  悲哀的现实
    2020-11-29 10:10

    JAR files can be created using following method i have told

    Example:

    step1: Create One project and name it as a Project1

    step2: Create another project and name it as a Project2

    step3: Create packages for two projects

    step4: Create classes for projects

    step5: Right Click on Project1 go to export in that select Java go to jar files select Project1 then click ok and ok.

    step6: Right Click on Project2 create one folder in that u have copy the jar file what we have created for project1.

    step7: Right click on project2 go to properties select buildpath then click on libraries then click ok button then ok.

    step 8: then type import package to the Project2

    Your jar file is ready.

提交回复
热议问题