How to import an existing directory into Eclipse?

前端 未结 6 901
心在旅途
心在旅途 2020-12-04 07:36

I am on a mac, but I don\'t think it will make a difference. I have a directory that I want to fully import/add into Eclipse. What I did is this:

  1. Right click i
6条回答
  •  没有蜡笔的小新
    2020-12-04 08:20

    The thing that works best for me when that happens is :

    1. Create a new eclipse project(JAVA)

    2. Take your source file (contents of the src folder!!!) and drag from finder and drop into the src folder in eclipse IDE

    3. Make sure you add your external jars and stuff and tada you're done!!

提交回复
热议问题