leeskelton83
asked on
Copy lib folder into new project
Hi:
I am really new to java and am working in Eclipse. I am working with an a existing project that I have downloaded. I have been told to copy over the lib folder and I will have access to all the classes in the project. Unfortunately don't know how to copy over the files into my new eclipse project. Please help.
I am really new to java and am working in Eclipse. I am working with an a existing project that I have downloaded. I have been told to copy over the lib folder and I will have access to all the classes in the project. Unfortunately don't know how to copy over the files into my new eclipse project. Please help.
ASKER
Thanks. I did import the lib folder which contained a jar and added it to the build path. Now though when I try to use one of the classes it says the jar has no source files..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks I have it now.
If you really want to import class library - to use classes of that library but not to modify it,
then you right-click on the project and go to Build Path --> addexternalArchive and select your jar with the classes as it is
then you right-click on the project and go to Build Path --> addexternalArchive and select your jar with the classes as it is
you don't actually need to import anything. you can just copy them directly in.
I think it dependes - do you want to import java source codes or are do you have
thiord party jar library? Please, elaborate