IntelliJ IDEA 2019.2 Help

Import a project from Eclipse

  1. Launch IntelliJ IDEA.

    If the Welcome screen opens, click Import Project.

    Otherwise, from the main menu, select File | New | Project from Existing Sources.

  2. In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open.

  3. Select Import project from external model | Eclipse and click Next.

    Imporing a project from Eclipse

  4. Configure the project:

    • Select Eclipse project directory: the path to the Eclipse workspace that contains projects that you want to import.

    • Create module files near .classpath files: create a new IntelliJ IDEA module per each Eclipse project the respective project directories. The IntelliJ IDEA project in the specified format will be created in the root of the Eclipse workspace, or Eclipse project directory.

    • Keep project and module files in: specify the target location of the .iml files to be created from the imported Eclipse projects.

    • Project file format: it's recommended that you use the directory-based format.

    • Link created IntelliJ IDEA modules to Eclipse project files: automatically keep the Eclipse projects and IntelliJ IDEA modules synchronized.

    • Detect test sources: specify the list of folders in which test sources are stored. Refer to the Compiler section for the wildcards syntax.

    Click Next.

    Imporing a project from Eclipse
  5. Review the projects detected in the selected Eclipse workspace and select the ones that you want to import to IntelliJ IDEA. Each Eclipse project will be converted into an IntelliJ IDEA module.

    Click Next.

    Imporing a project from Eclipse
  6. Select the code style configuration that you want to use in the project and click Next.

  7. Specify the SDK that you want to use.

    If the necessary SDK is already defined in IntelliJ IDEA, select it from the list on the left. Otherwise, click the Add button and add a new SDK.

  8. Click Finish.

Last modified: 17 October 2019