Lesson 9. Playing jar packages in Eclipse and using jar packages

1. The jar package is a compressed package of multiple class files. The jar package is used to use something written by others.

2, hit the jar package

Select the project-> right click-> Export-> Java-> jar-> specify a road and name-> finish

3. Use the jar package

Copy the jar package to the project Lujin and add it to the build Lujin

After the jar package is pasted in the package explorer, it cannot be used. At this time, you need to select the jar package-> right click-> build path-> add to build path

4. To know how to use the jar package, you need to configure a description document,

  At this time, select the packaged project-> right click-> Export-> Java-> Javadoc

Guess you like

Origin www.cnblogs.com/kim-zhu/p/12760706.html