How to create a project from existing source in Eclipse and then find it?

前端 未结 11 1873
难免孤独
难免孤独 2020-11-28 01:50

I have created several .java files. All of them are located in one directory. I used a text editor to write these files. Now I want to switch to Eclipse. How can I do it? I

11条回答
  •  广开言路
    2020-11-28 02:12

    There are two things

    1- If its already a Eclipse Project, then simply go to File->Import->General->Existing Project into Workplace

    2- Otherwise define project type e.g. Java, Web etc Create a new project of type you define into your workplace. Copy Paste source , lib and other necessary files. refresh, compile and run project in eclipse.

提交回复
热议问题