1. 程式人生 > >eclipse匯入class檔案

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已經被匯入到你的新資料夾中,你可刪除之前的老資料夾。