How to import a jar in Eclipse

前端 未结 10 1435
挽巷
挽巷 2020-11-21 06:54

How do I import a jar in Eclipse?

10条回答
  •  自闭症患者
    2020-11-21 07:26

    In eclipse I included a compressed jar file i.e. zip file. Eclipse allowed me to add this zip file as an external jar but when I tried to access the classes in the jar they weren't showing up.

    After a lot of trial and error I found that using a zip format doesn't work. When I added a jar file then it worked for me.

提交回复
热议问题