eclipse导入class文件

右键src文件夹-》build path-》config build path-》library-》add class folder-》create new folder,此时在工程中会出现Referenced Librarier,在其中包含了你的新文件夹,同时在其下面出现了你的新文件夹,这时右键你的新文件夹-》import-》general-》file system-》选择你的class文件所在的文件夹-》勾选你的class文件-》ok了。这时你的class已经被导入到你的新文件夹中,你可删除之前的老文件夹。

猜你喜欢

转载自www.cnblogs.com/jsoso/p/12760038.html