Question

I have downloaded a folder with 15 to 20 .java files in it, I want to put this folder in eclipse's package explorer. How can I do so? I'm using eclipse indigo.

Was it helpful?

Solution

Create a new project in Eclipse:

File > New > Java Project

This will create a project with a src folder. Then copy and paste the Java files into this directory via the file system. If the .java files are packaged you may need to create packages within the src folder.

Click the src Folder > File > New > Package
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top