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
There is a simplier way than exporting and importing the jar. Lets assume your project is named MyProject123. Just:
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.
You can import jar file from Eclipse File->Import->General->Archive File
To be able to import the project back instead of using JAR, try using 'Archive File' as follows.
File -> Export...
Choose General -> Archive File
as the export type like so :
and then,
File -> Import...
Choose General -> Archive File
and then set it up as follows :
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.
this the step u can apply to do that so.
Import Project -> JavaEE -> App Client Jar File -> Browse and select jar -> OK
Follow follwing Steps :
Import Project -> JavaEE -> App Client Jar File -> Browse and select jar -> OK
You are done.