1、创建类库名字

打开eclipse->window-preferences

在Eclispse添加自己常用的类库

2、点击new自定义类库名称

在Eclispse添加自己常用的类库

3、添加类库的包

点击Add External JARs

在Eclispse添加自己常用的类库

选中所需要的jar包

最后点击OK确定,完成

4、使用自己定义的类库

添加之后怎使用自己刚刚添加的类库呢 

在Eclispse添加自己常用的类库

打开项目的buildPath->Add Library

在Eclispse添加自己常用的类库

双击User Library

在Eclispse添加自己常用的类库

勾选所需的的类库,再确定,就完成了

在Eclispse添加自己常用的类库



相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-02-15
  • 2022-12-23
  • 2021-08-07
猜你喜欢
  • 2021-12-19
  • 2021-11-17
  • 2021-12-17
  • 2021-12-13
  • 2021-12-17
  • 2021-07-13
相关资源
相似解决方案