I have downloaded some Java Code Snippets to my laptop. Now I want to load these snippets to my eclipse's workspace (either existing or new).
I tried various options in eclipse to load them but in vain, need help.
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I have downloaded some Java Code Snippets to my laptop. Now I want to load these snippets to my eclipse's workspace (either existing or new).
I tried various options in eclipse to load them but in vain, need help.
Create new files and copy and paste the code, or use the Import command to import the folder into the appropriate location. Beyond that, you've told us you've tried something but didn't say what, and have not given us information as to what happened - this makes it very hard to give any further input that apply directly to your attempts.
Thank you so much...
I did the following steps and it worked.
1.Create an project in eclipse
2.create a package
3.Go to the file location for the source code files,copy them
4.Now go to the workspace folder of the eclipse.
5.select the project name
6.Go to src
7.select the package name
8.Paste the copied file there
9.Open eclipse and refresh it.
10.You would find the codes in there.
I haven't tried the import option, will try to do that as well
Even the Import Option worked for me
Thanks...