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
File -> Import -> General -> Archive File
This will import your project in Eclipse.
Also, you will need to add libs/jars externally by configuring your buildpath.