java的lib导入,适用eclipse

首先,需要手动下载jar文件包,zip或jar格式,如https://commons.apache.org/proper/commons-net/download_net.cgi

其次,将其解压在目录$JAVA_HOME/lib/ext/

最后,配置eclipse,project-》properties-》java build path -》 Libraries -》 Add External Jars

配置 Source attachment, Javadoc location和Native library location

posted on 2016-04-13 15:40  onmyway227  阅读(475)  评论(0编辑  收藏  举报

导航