0

i know this will be pretty straight forward but i cant do it even after doing lot of Google search .. i am downloading projects from Planet-source-code and then modifying them for learning purpose . Problm is that when i download files and unzip them folder contains .java .jar images and other resources but when i import complete folder this is result

enter image description here

Please guide me how to import complete projects with all resources , i found official link here Importing existing projects but that did not work , please help

3
  • Did you unzip the project in ..\j\New Folder ? Commented Mar 20, 2013 at 11:46
  • Can you share the link to the zip file you downloaded ? Commented Mar 20, 2013 at 11:47
  • this one planet-source-code.com/vb/scripts/… Commented Mar 20, 2013 at 11:49

3 Answers 3

4

This zip file don't contain a java project. Unzip the zip file. In eclipse create a new Java project (a blank project). Then copy the DieRoll.java file from the unzipped folder in your eclipse project.

Sign up to request clarification or add additional context in comments.

4 Comments

ok i did paste .java file in src folder that works(+1) . but it does not seem to be standard practice .am i right ?
Actually the site didn't shared the project exactly. They just extracted the code (.java file) and some other files and zipped them.
ok , thank u for your help ,so if they had shared complete project i could have imported project in this way as i mentioned in question ?
Yes, you can import a project that way.
2

when you import existing project into work space mean you have to extract the project in outside the work space folder then choose it ,if you extract the project in same work space mean you will get conflict ,that's reason for your error

Comments

0

This zip file don't contain a java project. Unzip the zip file.Then do as follows.

enter image description here

see here you can import from here.After clicking on import you can select file type.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.