How to import a Java project to Eclipse?
eclipse, import, java, project
Solution
There is a simplier way than exporting and importing the jar. Lets assume your project is named MyProject123. Just:
- Just open the workspace with your file manager,
- Copy the folder MyProject123 that contains the project and paste it in an other workspace.
- Open eclipse and create a new Java Project named MyProject123
Eclipse will recognize that there is a project with that name in the workspace and will import it. All you have to do is to make refresh (press F5) on the new project.
Problem
I was trying to export a Java project. I was able to create a JAR file by using the option Export -> Java -> JAR file. I am not able to import this jar file into Eclipse (no import option for java). Am I doing anything wrong here? Using Eclipse Java EE IDE for Web Developers (Version: Juno Release)